I did : whenever --update-crontab --set environment=development And it worked in development, I could see in development.log that it sent the mail each 5 minutes. Good. Do I have to change this line and write environment=production or it'll work like this if the project is put on a server ?
Le mardi 7 juillet 2015 11:18:16 UTC+2, Marco Dias a écrit : > > It doesn't seem to work in development mode. How can I do that ? > > Le lundi 6 juillet 2015 20:56:42 UTC+2, Hassan Schroeder a écrit : >> >> On Mon, Jul 6, 2015 at 11:46 AM, Marco Dias <dias...@gmail.com> wrote: >> >> > So it sent mails to the only two users that had daily == true, so my >> method >> > work. But is the scheduled job working ? >> >> It's just a cron job. Change the target time to e.g. five minutes from >> now, go get a cup of coffee and see what's happened when you get >> back :-) >> >> -- >> Hassan Schroeder ------------------------ hassan.s...@gmail.com >> http://about.me/hassanschroeder >> twitter: @hassan >> Consulting Availability : Silicon Valley or remote >> > -- 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+unsubscr...@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/19cff209-f5c5-40b4-94f6-8dcc411ce284%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.