Skip to content

Instantly share code, notes, and snippets.

@cardil cardil/gist:2355211

Created Apr 10, 2012
What would you like to do?
CrontabManager simple example
use php\manager\crontab\CrontabManager;
$crontab = new CrontabManager();
$job = $crontab->newJob();
$job->on('* * * * *');
$job->onMinute('20-30')->doJob("echo foo;");
$job->onMinute('35-40')->doJob("echo bar;");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.