Created
June 30, 2009 15:05
-
-
Save nicolasblanco/138209 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ec2-72-44-38-243:~# crontab -l | |
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:/usr/sbin | |
MAILTO=system@keldelice.com | |
# Automatically set the clock for all machines | |
15 4 * * * ntpdate pool.ntp.org | |
# Reindex task, only on app primary | |
*/30 * * * * cd /mnt/keldelice-production/current && sudo -u rails RAILS_ENV=production rake ts:index | |
15 4 * * * cd /mnt/keldelice-production/current && sudo -u rails RAILS_ENV=production rake lemonde:sync_content | |
root@ec2-72-44-38-243:~# cd /mnt/keldelice-production/current && sudo -u rails RAILS_ENV=production rake lemonde:sync_content | |
(in /mnt/keldelice-production/releases/20090630145501) | |
root@ec2-72-44-38-243:/mnt/keldelice-production/current# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment