Daily task

Hi all

user upload a file to my site
i want run a daemon analyse file content, save to db(daily task)

my question is:
how to run this daemon, it’s wrote by rake task or Linux OS stuff?
any idea.

regards

On 21/09/06, Joe B. [email protected] wrote:

my question is:
how to run this daemon, it’s wrote by rake task or Linux OS stuff?
any idea.

I need to achieve something similar, and my initial approach was going
to be to have a cron job that called the relevant rake task on a
regular basis.

My ideal approach would be to have some form of daemon that waits for
data to arrive and then processes it, but at the moment the cron
solution is much more achievable.

Dave M. (Schwuk)
http://schwuk.com

You both can either use a cron job (set a script/runner or RAKE
line in crontab -e), or either using BackgroundRB. BRB is a
bit heavy, but both works just fine.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs