Re: Background daemon

Penelope
Fri, 07 Aug 2009 16:33:15 -0000

Now its working, thanks a lot

> I certainly would not use a long running daemon for this purpose.  You
> should look into using cron and script/runner to execute the task daily.
>
> 0 8 * * * /path/to/rails/app/script/runner -e production
> "Notifier.deliver_report_daily"
>
> This will deliver your daily report each day at 8 am.
>
> Best,
> Michael Guterl
> --
> Posted viahttp://www.ruby-forum.com/.