This is currently the contents of “app-backup” in my cron.daily.
Cron Job for Mixbook Code Backup
Updated February 1, 2007
rake s3:backup:scm --trace >> /var/rails/beta/log/backup.log
echo “Backup Successful on” >> backup.log
date >> backup.log
echo “–” >> backup.log
When I run the file “./app-backup,” the RAKE works fine and completes
successfully. However, when this same file is called through crontab, I
get the following output:
Don’t know how to build task ‘s3:backup:scm’
(See full trace by running task with --trace)
Backup Successful on
Sat Apr 21 04:02:39 PDT 2007
Anybody have any clue why this is happening?