Setting up a cron job is simple, here is a write up in the Ubuntu documentation - Cron How To.
So just create a directory in your home, or anywhere , to where you will be placing your shell scripts, and/or logs. You could call rake directly in the crontab, but I prefer to keep it in a script, the more complex it gets later, will be easier to change.
its simple after that
cd /
and yes you can chain rake tasks and they will run in that order. Very cool stuff. Another good write up where I found out about chaining - Rake Around the Rosie
No comments:
Post a Comment