How to run a background task in rails


#1

I need to run a background task which should last several hours. How can
I do this in rails?


#2

Hi,

What sort of tasks do you intend to do?
Database/ file system/ operating system oriented, appropriate approach
can
be decided depending on these

  • NAYAK

#3

Use the backgroundrb system. It scales better in the long run as you
decide to do more stuff in the background and require better control.

http://backgroundrb.rubyforge.org/


#4

The task is building source code with gcc.
take a look at the earlier mentioned backgrounDRb:
http://backgroundrb.rubyforge.org/


#5

Vishwanath Nayak wrote:

Hi,

What sort of tasks do you intend to do?
Database/ file system/ operating system oriented, appropriate approach
can
be decided depending on these

  • NAYAK

The task is building source code with gcc.


#6

I second on it

-NAYAK