Skip to content

Instantly share code, notes, and snippets.

@JKring
Created August 1, 2012 18:15
Show Gist options
  • Save JKring/3229422 to your computer and use it in GitHub Desktop.
Save JKring/3229422 to your computer and use it in GitHub Desktop.
whenever
# Begin Whenever generated tasks for: /home/deploy/cap/releases/20120731190330/config/schedule.rb
0,10,20,30,40,50 * * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull 2>&1 > /tmp/cron.out'
0 0,2,4,6,8,10,12,14,16,18,20,22 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull_businesses 2>&1 > /tmp/cron.out'
30 2 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake update_contents 2>&1 > /tmp/cron.out'
30 2 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull_invoices 2>&1 > /tmp/cron.out'
0 13 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake flake_check 2>&1 > /tmp/cron.out'
0 13 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake suggest_pitches_to_writers 2>&1 > /tmp/cron.out'
0 5 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake flake_cull 2>&1 > /tmp/cron.out'
30 3 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake update_daily_stats 2>&1 > /tmp/cron.out'
30 12 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake pitch_notifications 2>&1 > /tmp/cron.out'
10 0 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull_contracts 2>&1 > /tmp/cron.out'
10 0 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull_stuck_in_plagiarism 2>&1 > /tmp/cron.out'
30 4 * * 0 /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake update_weekly_stats 2>&1 > /tmp/cron.out'
30 22 * * 0 /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake nearing_auto_approve 2>&1 > /tmp/cron.out'
30 4 * * 5 /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull_payments 2>&1 > /tmp/cron.out'
0 3 31 * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake export_finished_jobs 2>&1 > /tmp/cron.out'
30 2 * * 6 /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake nlp alg=lda 2>&1 > /tmp/cron.out'
# End Whenever generated tasks for: /home/deploy/cap/releases/20120731190330/config/schedule.rb
# Begin Whenever generated tasks for: scripted
0,10,20,30,40,50 * * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull 2>&1 > /tmp/cron.out'
0 0,2,4,6,8,10,12,14,16,18,20,22 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull_businesses 2>&1 > /tmp/cron.out'
30 2 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake update_contents 2>&1 > /tmp/cron.out'
30 2 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull_invoices 2>&1 > /tmp/cron.out'
0 13 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake flake_check 2>&1 > /tmp/cron.out'
0 13 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake suggest_pitches_to_writers 2>&1 > /tmp/cron.out'
0 5 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake flake_cull 2>&1 > /tmp/cron.out'
30 3 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake update_daily_stats 2>&1 > /tmp/cron.out'
30 12 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake pitch_notifications 2>&1 > /tmp/cron.out'
10 0 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull_contracts 2>&1 > /tmp/cron.out'
10 0 * * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull_stuck_in_plagiarism 2>&1 > /tmp/cron.out'
30 4 * * 0 /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake update_weekly_stats 2>&1 > /tmp/cron.out'
30 22 * * 0 /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake nearing_auto_approve 2>&1 > /tmp/cron.out'
30 4 * * 5 /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake cull_payments 2>&1 > /tmp/cron.out'
0 3 1 * * /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake export_finished_jobs 2>&1 > /tmp/cron.out'
30 2 * * 6 /bin/bash -l -c 'cd /home/deploy/cap/current; RAILS_ENV=production /home/deploy/.rvm/gems/ruby-1.9.2-p290@production/bin/bundle exec rake nlp alg=lda 2>&1 > /tmp/cron.out'
# End Whenever generated tasks for: scripted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment