Skip to content

Instantly share code, notes, and snippets.

@simofacc
Created June 26, 2018 08:39
Show Gist options
  • Save simofacc/1976ea6f53e285b627709046e9d1c336 to your computer and use it in GitHub Desktop.
Save simofacc/1976ea6f53e285b627709046e9d1c336 to your computer and use it in GitHub Desktop.
Dokku Ruby Scraper Cron Jobs
* * * * * dokku --rm-container run stats rake scraper:run_scraper
0 * * * * dokku --rm-container run stats rake scraper:hourly_cleanup
0 1 * * * dokku --rm-container run stats rake scraper:nightly_cleanup
* * * * * dokku --rm-container run stats rake scraper:backup_check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment