Re: [Rails] whenever gem
How about write out to some file as you might can not see these PUTS
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 writtenresult of crontab -l :-# Begin Whenever generated tasks for: the complete path/schedule.rb0,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.rbOn Tue, Jul 9, 2013 at 7:11 PM, rubyonrailsx@gmail.com <rubyonrailsx@gmail.com> wrote:usewhenever -wto write into system crontab ; to check if write successfully try crontab -lwhenever -c to clearTo view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/D580ED39D0B3430685EC8E64AFAD3FEC%40gmail.com.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.--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home