utilities to assist running batch processing jobs
C Other Shell Makefile
Latest commit 23a430f Dec 30, 2015 @jaqx0r jaqx0r Bump version to 1.9.
Permalink
Failed to load latest commit information.
debian Fix changelog for new version. Mar 14, 2015
tests converted useful examples into regression tests. Jun 1, 2014
.gitignore Rename hgignore to gitignore. May 24, 2012
.travis.yml Add travis.yml for continuous build. May 18, 2015
CONTRIBUTING.md Merge branch 'master' of https://github.com/google/cronutils Mar 14, 2015
LICENSE Merge branch 'master' of https://github.com/google/cronutils Mar 14, 2015
Makefile Depend on 'all' for test, so the binaries are built! Remove the shell… May 18, 2015
README.md Add build status indicator to README. May 18, 2015
cronutils.spec RPM spec file contributed by Serge. Feb 14, 2012
examples Merge branch 'master' of https://code.google.com/p/cronutils Aug 27, 2013
regtest.sh Depend on 'all' for test, so the binaries are built! Remove the shell… May 18, 2015
runalarm.1 Initial checkin of cronutils 1.0 source. May 16, 2011
runalarm.c Sort include lines. Jan 8, 2013
runcron Debian package 1.0-1 updates. Jul 17, 2011
runlock.1 Initial checkin of cronutils 1.0 source. May 16, 2011
runlock.c Fix the warning message when the timeout expires to print the actual Mar 14, 2015
runstat.1 Fix typos in runstat manpage, contributed by Serge. Feb 14, 2012
runstat.c Change the printf format specifier from long to double, and compute the Dec 30, 2015
subprocess.c Initial checkin of cronutils 1.0 source. May 16, 2011
subprocess.h Initial checkin of cronutils 1.0 source. May 16, 2011
tempdir.c Change printf specifier to correctly handle an unsigned int. Mar 14, 2015
tempdir.h Initial checkin of cronutils 1.0 source. May 16, 2011
version Bump version to 1.9. Dec 30, 2015

README.md

cronutils - utilities to assist running batch processing jobs

Build Status

cronutils is a set of tools to assist the reliable running of periodic and batch jobs.

  • runalarm: Limit the running time of a process.
  • runlock: Prevent concurrent runs of a process.
  • runstat: Export statistics about a process's execution.
  • runcron: Simple wrapper around the above tools.

Used together, they can be used to specify overrun policies for periodic jobs, for example:

  • Allow overrun -- let the first job run to completion
  • Kill older job -- specify a timeout on the older job to limit its execution

Additionally, metrics can be exported to your favourite metrics collector at the termination of the job's run, so that abnormal behaviour can be monitored for and alerted on.

Mailing list at http://groups.google.com/group/cronutils-users.