Schedule jobs with ruby

are there any tools to schedule jobs with ruby in xp. i dont want to
use the windows scheduled jobs as i am having issue with it.

On 04.01.2008 20:13, Junkone wrote:

are there any tools to schedule jobs with ruby in xp. i dont want to
use the windows scheduled jobs as i am having issue with it.

I think there was some discussion of scheduling implemented in Ruby a
while ago here but can’t remember the details. Maybe a search in the
archives reveals more. RAA would also be a good place to look. Then
you also have to invoke some kind of service wrapper around the Ruby
interpreter but I believe you’ll find something like this - maybe even
from MS. HTH

Kind regards

robert

On Jan 4, 1:00 pm, Robert K. [email protected] wrote:

from MS. HTH
The Task Scheduler is already a service, but it’s possible there’s
something else out there. There’s probably ‘cron for windows’ and
such. A pure Ruby cron-like service would be a cool project,
though. :slight_smile:

Junkone, are you having trouble with the taskscheduler or the win32-
taskscheduler library? The latter could probably use some TLC.

Regards,

Dan

On Jan 4, 1:13 pm, Junkone [email protected] wrote:

are there any tools to schedule jobs with ruby in xp. i dont want to
use the windows scheduled jobs as i am having issue with it.

You may want to take a look at this article
http://www.igvita.com/2007/03/29/scheduling-tasks-in-ruby-rails/

Luis

On Jan 5, 2008 11:24 AM, [email protected] [email protected] wrote:

On Jan 4, 1:13 pm, Junkone [email protected] wrote:

are there any tools to schedule jobs with ruby in xp. i dont want to
use the windows scheduled jobs as i am having issue with it.

You may want to take a look at this article
Scheduling tasks in Ruby / Rails - igvita.com

There is Taskr that just got out of the door :

http://code.google.com/p/ruby-taskr/

Though maybe it’s already a bit too much for just “ruby in xp”.

Best regards,

Robert K. wrote:

Kind regards

robert

I use PyCron on Windows which is very similar to Cron. It works well,
runs as a service, automatically restarts when Windows starts up and can
schedule anything. I use it kickstart a CMD file that sets all the
environment variables we need and then class the Ruby script we want.

Hope this helps.

Cheers,
Mohit.
1/5/2008 | 3:59 PM.

Or, maybe, use an existing solution:
(This was just the first google result :wink:
http://cronw.sourceforge.net/

How about the “at” command instead then?