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.

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 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.

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 4, 1:13 pm, Junkone <junko...@gmail.com> 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.

How about the "at" command instead then?

···

On 4 Jan 2008, at 15:15, 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.

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:00 pm, Robert Klemme <shortcut...@googlemail.com> wrote:

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

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,

···

On Jan 5, 2008 11:24 AM, lrlebron@gmail.com <lrlebron@gmail.com> wrote:

On Jan 4, 1:13 pm, Junkone <junko...@gmail.com> 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

--
John Mettraux -///- http://jmettraux.openwfe.org

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

Robert Klemme 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

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.

···

On 04.01.2008 20:13, Junkone wrote: