On Tue, Jul 9, 2013 at 7:44 PM, rubyonrailsx@gmail.com wrote:How about write out to some file as you might can not see these PUTS
--
rubyonrailsx@gmail.comSent with Sparrow <
http://www.sparrowmailapp.com/?sig>
On Tuesday, July 9, 2013 at 10:08 PM, avinash behera wrote:
I tried with these commands. It is fine. But the schedule.rb is not being
invoked.
I tried with some puts inside the method, but it is not getting invoked.
result of whenever -w -> [write] crontab file written
result of crontab -l :-
# Begin Whenever generated tasks for: the complete path/schedule.rb
0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58
* * * * /bin/bash -l -c 'cd "the complete path" && script/rails runner -e
development '\''UserMailer.some_method'\'''
# End Whenever generated tasks for: the complete path/schedule.rb
On Tue, Jul 9, 2013 at 7:11 PM,
rubyonrailsx@gmail.com <
rubyonrailsx@gmail.com> wrote:
use
*whenever -w *
to write into system crontab ; to check if write successfully try * crontab
-l *
*whenever -c to clear*
--
rubyonrailsx@gmail.comSent with Sparrow <
http://www.sparrowmailapp.com/?sig>
On Tuesday, July 9, 2013 at 9:28 PM, Avi wrote:
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/D580ED39D0B3430685EC8E64AFAD3FEC%40gmail.com.
For more options, visit
https://groups.google.com/groups/opt_out.--
Thanks,
*Avi*
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CAJ9B1dPZnCan0q%3DmrFRRucNA9swzARstxEUXSs31dFj8wnCsBQ%40mail.gmail.com.
For more options, visit
https://groups.google.com/groups/opt_out.--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/4AB19A10C081484E8072B4BD731DF8AB%40gmail.com.
For more options, visit
https://groups.google.com/groups/opt_out. You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.