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?
This http://www.adminschoice.com/docs/crontab.htm#Crontab%20file says 
that the second is for hours:

> A line in crontab file like below  removes the tmp files from 
> /home/someuser/tmp each day at 6:30 PM.
>
> 30     18     *     *     *         rm /home/someuser/tmp/* 

But with something like

5 * * * * .....

it would be run every hour at 5 minutes, like 01:05, 02:05, and so on, 
right ?

with:

* * * * * ....

it would be run every minutes...but every 5 minutes? :(


-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to