[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

schedule jobs with ruby

Junkone

1/4/2008 7:14:00 PM

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

Robert Klemme

1/4/2008 7:59:00 PM

0

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

Daniel Berger

1/4/2008 8:15:00 PM

0



On Jan 4, 1:00=A0pm, 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. =A0Maybe a search in the
> archives reveals more. =A0RAA would also be a good place to look. =A0Then
> 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. =A0HTH

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

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

Regards,

Dan

lrlebron@gmail.com

1/5/2008 2:22:00 AM

0

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
http://www.igvita.com/2007/03/29/scheduling-tasks-in-r...

Luis

John Mettraux

1/5/2008 2:41:00 AM

0

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
> http://www.igvita.com/2007/03/29/scheduling-tasks-in-r...

There is Taskr that just got out of the door :

http://code.google.com/p/r...

Though maybe it's already a bit too much for just "ruby in xp".


Best regards,

--
John Mettraux -///- http://jmettraux.o...

Paul Stickney

1/5/2008 2:44:00 AM

0

Or, maybe, use an existing solution:
(This was just the first google result ;)
http://cronw.source...

Mohit Sindhwani

1/5/2008 7:59:00 AM

0

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

>
>



James Tucker

1/5/2008 11:02:00 AM

0

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