About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

linux default iconcrontub Publisher's description

crontub - a dynamic cron daemon

crontub is a virtual crontab... it abstracts the definition of the crontab. Currently the abstraction takes the form of scanning files for special CRON declarations which are then assembled into a crontab as if someone had written a text file.

Why? crontub let's your programmers specify how and where a script should run under cron inside the script itself. This means that you can place crons under version control and have crontub find them and run them at whatever time has been specified.

In addition, crontub let's you specify a role checker so that you can have different crontabs run on different environments (by adjusting the role checker).

The config file:

pidfile = path
roletest = somecommand`

'pidfile' is a path to a pidfile, where the daemon records it's pid, by default the pidfile is in /tmp/crontub.pid

'roletest' specifies that somecommand be run to establish whether the cron should be run here or not.

the roletest command is executed with the % template variables:

* 'role' set to the role being tested
* 'user' set to the user being tested

for example, setting 'roletest' thusly:

roletest = /usr/local/bin/check_is_staging -u %(user)s %(role)s

with a role of "staging" and a user of "woome" would cause the following command to be executed:

/usr/local/bin/check_is_staging -u woome staging

System Requirements:

В· Python
Program Release Status:
Program Install Support: Install and Uninstall

crontub Tags:

Click on a tag to find related softwares

Is crontub your software?

Manage your software

Most Popular

linux default icon JOrg 0.93 RC
It's a software to help you control your files and their location.
linux default icon Android HTC 2.3
Android ported to the HTC Vogue, Kaiser, Polaris, and Nike.
linux default icon iReport Designer for JasperReports 4.0.2
iReport is the free, open source report designer for JasperReports.
linux default icon jGRASP 1.8.8_07 Beta
jGRASP is a lightweight development environment,.....
linux default icon Code::Blocks 10.05
A C/C++ IDE built with configurability and extensibility in mind

Related Category

» Archiving (73)
» Benchmarking (88)
» Other (3482)
» Printer (63)
» Shell Tools (113)