Skip to content

Instantly share code, notes, and snippets.

@alexander-torosh
Created March 24, 2016 12:52
Show Gist options
  • Select an option

  • Save alexander-torosh/3ba5ba86223f8ae57cd4 to your computer and use it in GitHub Desktop.

Select an option

Save alexander-torosh/3ba5ba86223f8ae57cd4 to your computer and use it in GitHub Desktop.
Demio backend crontab
DEMIO_PATH=/home/ubuntu/www/demio
* * * * * php $DEMIO_PATH/apps/workers/cli.php triggers-cron >/dev/null 2>&1
* * * * * sleep 1; php $DEMIO_PATH/apps/workers/cli.php email >/dev/null 2>&1
* * * * * sleep 21; php $DEMIO_PATH/apps/workers/cli.php email >/dev/null 2>&1
* * * * * sleep 41; php $DEMIO_PATH/apps/workers/cli.php email >/dev/null 2>&1
* * * * * sleep 10; php $DEMIO_PATH/apps/workers/cli.php event-series-type >/dev/null 2>&1
* * * * * sleep 12; php $DEMIO_PATH/apps/workers/cli.php infinite-series >/dev/null 2>&1
*/5 * * * * sleep 15; php $DEMIO_PATH/apps/workers/cli.php overdue-webinars >/dev/null 2>&1
*/5 * * * * sleep 20; php $DEMIO_PATH/apps/workers/cli.php early-finished-webinars >/dev/null 2>&1
*/5 * * * * sleep 25; php $DEMIO_PATH/apps/workers/cli.php long-webinars >/dev/null 2>&1
*/5 * * * * sleep 30; php $DEMIO_PATH/apps/workers/cli.php encore-registrants >/dev/null 2>&1
*/10 * * * * sleep 35; php $DEMIO_PATH/apps/workers/cli.php intercom-users >/dev/null 2>&1
* */3 * * * php $DEMIO_PATH/apps/workers/cli.php dump-database >/dev/null 2>&1
* 15 * * * php $DEMIO_PATH/apps/workers/cli.php aws-buckets-limit-notice >/dev/null 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment