Preksha
> but what's this??
> 0 0 * * * cd /var/www/apps/rails_app/ && /usr/local/bin/rake
> RAILS_ENV=production utils:send_expire_soon_emails

     This is how we setup cron entries. In this case what it means is 
Every midnight (12 am) go to the project root and run the rake task in 
production mode  The task is send_expire_soon_emails under namespace 
utils

Another cron example entry
5,10     0     10     *     1         rm /tmp/*

    this means At 12.05,12.10 every Monday & on 10th of every month 
clear tmp directory.


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

Reply via email to