Skip to content

Instantly share code, notes, and snippets.

@motdotla
Created November 20, 2008 05:40
Show Gist options
  • Save motdotla/26952 to your computer and use it in GitHub Desktop.
Save motdotla/26952 to your computer and use it in GitHub Desktop.
* * * * * RAILS_ENV=production rake -f <%= current_path %>/Rakefile chores:each_minute >> <%= deploy_to %>/shared/log/cron/each_minute.txt
00 * * * * RAILS_ENV=production rake -f <%= current_path %>/Rakefile chores:hourly >> <%= deploy_to %>/shared/log/cron/hourly.txt
01 0 * * * RAILS_ENV=production rake -f <%= current_path %>/Rakefile chores:daily >> <%= deploy_to %>/shared/log/cron/daily.txt
02 0 * * 1 RAILS_ENV=production rake -f <%= current_path %>/Rakefile chores:weekly >> <%= deploy_to %>/shared/log/cron/weekly.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment