Job scheduling

Hello,

I’m looking for a way to schedule background jobs (for instance
invalidating session or sending mail) in Jruby on Rails (2.0.2).
BackgrounDRb is not working because of ‘fork’ not working under Jruby.
Googling around gave me the Quartz-plugin but I’m currently not running
the project under Tomcat. Is there a more ruby-centric way of scheduling
jobs? I also found something to control the crontab from ruby, however
would that still be usable with mongrel running as a daemon without any
homedir and thus crontab? And how would that fit in a rails project?

Regards,
Andres


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

why not try java’s ScheduledExecutorService?

2008/6/16 Andres K. [email protected]:

On Mon, Jun 16, 2008 at 6:26 PM, Andres K. [email protected]
wrote:

I’m looking for a way to schedule background jobs (for instance invalidating
session or sending mail) in Jruby on Rails (2.0.2). BackgrounDRb is not
working because of ‘fork’ not working under Jruby. Googling around gave me
the Quartz-plugin but I’m currently not running the project under Tomcat. Is
there a more ruby-centric way of scheduling jobs?

Hi,

you might want to have a look at this previous thread :
http://archive.jruby.codehaus.org/user/137BFA99-7F7F-4CE7-8B25-DBCFB69BD388%40gmail.com

Best regards,


John M. - http://jmettraux.wordpress.com


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

you should try ruffus-scheduler

On Mon, Jun 16, 2008 at 7:05 AM, John M. [email protected]
wrote:

there a more ruby-centric way of scheduling jobs?

John M. - http://jmettraux.wordpress.com


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Fabio K.

Caelum - Ensino e Soluções em Computação