Welcome Guest | Login

crontab Setup Help!!

Somebody can tell where to find some crontab tutorial beacuse i need to setup my crontab to run my mongrel instances in every reboot so i tried to setup step by step as the tutorialhttp://www.hostingrails.com/forums/wiki_thread/19

but when i try to save ctrl+o does no save i don't know why
it suppose to work as the tutorial says or maybe I'm doing something wrong can somebody help to find some step by step crontab tutorial, to setup i need to add something like this:
-------------------
#clear out pid files if they didn't get erased
@reboot cd /home/username/railsapp/log && rm mongrel.4* -f

#reboot first instance (all one line)
@reboot cd /home/username/railsapp && /usr/local/bin/mongrel_rails start -e production -d -p 4***0 -P /home/username/railsapp/log/mongrel.4***0.pid

#reboot second instance (all one line)
@reboot cd /home/username/railsapp && /usr/local/bin/mongrel_rails start -e production -d -p 4***1 -P /home/username/railsapp/log/mongrel.4***1.pid

#reboot more instances in a similar manner
-------------------

thanks!!  

2008-02-24 03:32 AM

And slowly I've come to realize
it's all as it should be...
I could see that the cronjob to restart the mongrel is setup properly for your account. If you still faces any issue, please contact the support team.

2008-02-24 04:31 AM

I already did it,  great service thats why I'm  with you guys thanks a lot!!

2008-02-24 12:24 PM

And slowly I've come to realize
it's all as it should be...

Hello Guest! In order to post you must be an active client with us, please log in or sign up.