How to create a background task?

Hi All,

I’m a newbie for RoR. Now, I want to create a background task: send an
email
at 6 pm every day. How can I create this task?

Thanks,
Rod Dong

I’ve not used it yet, but think railscron could be what you’re looking
for:
http://kylemaxwell.com/articles/2006/01/06/railscron-0-1

“Dong Rod” [email protected] writes:

Hi All,

I’m a newbie for RoR. Now, I want to create a background task: send an email
at 6 pm every day. How can I create this task?

Look at the rails wiki on creating background tasks. Set up a cron job
which
uses the runner script to execute the function which will control
sending of
the email.

HTH.

Surendra S.
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| Great wits are sure to madness near allied,
| And thin partitions do their bounds divide.
|
| (John Dryden, Absalom and Achitophel, 1681)
`----