Cronwrap 2.0 reviewDownload
Cronwrap is a utility that offers more control over the execution of a cron job than the standard cron daemon allows. Cronwrap pro
Cronwrap is a utility that offers more control over the execution of a cron job than the standard cron daemon allows.
Cronwrap project can ensure and report that the job completes within a specified time period. It can email and/or log any output produced from the job. It reports on the exit status of the job.
This was developed at the University of Wollongong to manage the email output
from scheduled jobs with cron.
Just type "make" and put the cronwrap binary into the file system where you can run it.
-s < subject >
Subject of any email that is sent after running this job.
-r < recipient > [,< recipient > ...]
Comma seperated list of email addresses who will be sent any mail resulting from the job.
-t < timeout secs >
The number of seconds this job is expected to complete within. _c_r_o_n_w_r_a_p will report via email if the job execution exceeds this time. The default is 900 seconds
-l < log file >
Specifies a path to a log file. Messages relating to the command are written here.
-L < log file >
Specifies a path to a log file. The content of the file is mailed to the specified recipient (or root) and the file is zeroed.
Terminate the job if it runs longer than the value specified with -t. A SIGTERM will be sent to the job followed by a SIGKILL after 5 seconds.
Ignore any output on standard out from the job. Normally any output is captured and reported via email.
Ignore any output on standard error from the job. Normally any output is captured and reported via email.
Do not report on the exit status if it is this value n. This option can be specified multiple times. An exit status of 0 is always ignored.
Print version number and exit.
< cmd > [< cmd args > ...]
The job that will be executed and monitored by cronwrap.
What's New in This Release:
Signal handling is more portable.
An option to control the nice value of the job has been added.
An option to specify a jitter time before executing the job has been added.
Cronwrap 2.0 search tags