On Jun 9, 2007, at 5:57 AM, mike wrote:
> > Robby Russell wrote: >> I'd create a shell script on your server(s) to do this. >> >> crontab entry: >> >> * 5 * * * $HOME/scheduled-tasks/my-scheduled-task-name >> > > > Why create an external script? I prefer an external script so that I can add some documentation if necessary for whomever else might come across this crontab. Also, it allows me to test the script and run it manually when necessary. We often have special rake tasks and shell scripts that go along with our rails applications, and we maintain them in subversion, so, this allows us to modify them within svn without needing to re-edit our crontab each time there is a change. > This http://www.adminschoice.com/docs/crontab.htm#Crontab%20file says > that the second is for hours: Every five minutes: 0,5,10,15,20,25,30,35,40,45,50,55, * * * * path/to/script good luck! Robby -- Robby Russell Founder and Executive Director PLANET ARGON, LLC Ruby on Rails Development, Consulting & Hosting www.planetargon.com www.robbyonrails.com +1 503 445 2457 +1 877 55 ARGON [toll free] +1 815 642 4068 [fax] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---