Sijo Kg wrote: > Hi >> .but is it for cron or crontab? > > Did not get what you meant by this question. Anyway > > cron is a unix, solaris utility that allows tasks to be automatically > run in the background at regular intervals by the cron daemon > And > Crontab (CRON Table) is a file which contains the schedule of cron > entries to be run and at specified times. > > > After creating your rake tasks you can call it fron cron For that from > console type > crontab -e > This will open the crontab file in edit mode There put your entries > ne example from above link is > > 0 0 * * * cd /var/www/apps/rails_app/ && /usr/local/bin/rake > RAILS_ENV=production utils:send_expire_soon_emails > > hi,
where i supposed to write this: 0 0 * * * cd /var/www/apps/rails_app/ && /usr/local/bin/rake > RAILS_ENV=production utils:send_expire_soon_emails i mean the code to fire an event at particular time tht where i supposed to write? > > > Sijo -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

