Jobby post

Por Rogério Lino

Com Jobby você gerencia os jobs através do PHP sem necessidade de alterar a crontab.

Install the master jobby cron job, and it will manage all your offline tasks. Add jobs without modifying crontab. Jobby can handle logging, locking, error emails and more.

Basta apenas uma entrada principal na crontab.

* * * * * cd /path/to/project && php jobby.php 1>> /dev/null 2>&1

Funcionalidades:

  • Maintain one master crontab job.
  • Jobs run via PHP, so you can run them under any programmatic conditions.
  • Use ordinary crontab schedule syntax (powered by the excellent cron-expression).
  • Run only one copy of a job at a given time.
  • Send email whenever a job exits with an error status.
  • Run job as another user, if crontab user has sudo privileges.
  • Run only on certain hostnames (handy in webfarms).
  • Theoretical Windows support (but not ever tested)

Tags: php, cron, job, jobby