keyongtech


  keyongtech > ruby > 01/2008

 #1  
01-04-08, 07:13 PM
Junkone
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.
 #2  
01-04-08, 07:59 PM
Robert Klemme
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
 #3  
01-04-08, 08:15 PM
Daniel Berger
On Jan 4, 1:00=A0pm, Robert Klemme <shortcut> 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
 #4  
01-05-08, 02:21 AM
lrlebron
On Jan 4, 1:13 pm, Junkone <junko> 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/sch...in-ruby-rails/

Luis
 #5  
01-05-08, 02:41 AM
John Mettraux
On Jan 5, 2008 11:24 AM, lrlebron <lrlebron> wrote:
> On Jan 4, 1:13 pm, Junkone <junko> 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
> [..]


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,
 #6  
01-05-08, 02:44 AM
Paul Stickney
Or, maybe, use an existing solution:
(This was just the first google result ;)
http://cronw.sourceforge.net/
 #7  
01-05-08, 07:59 AM
Mohit Sindhwani
Robert Klemme wrote:
> On 04.01.2008 20:13, Junkone wrote:
>
> 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.
 #8  
01-05-08, 11:01 AM
James Tucker
How about the "at" command instead then?

On 4 Jan 2008, at 15:15, Junkone wrote:
Similar Threads
SQLagent jobs schedule

I'm running a test, but I have a job that I want to start at 3:10 AM and end at 2:50 AM. SQLagent took the job, but it isn't starting and when I ran it one time manually, it...

Schedule cron jobs

Hi, There are some tasks that need to be run, say, every 2 hrs/day. I need to schedule a cron job (on Solaris). Do I have to be 'root' in order to run the job? How can I...

Multiple jobs on one schedule

Hi I am wondering if it's possible to run multiple backup jobs from one shedule in SQL Server 2000, so all backups are triggered simultaneously at a given time. Having...

DTS/Schedule Jobs monitoring

Is there a way to monitor all scheduled DTS jobs and restart the jobs automatically when it faillS. If the job continues failing after being restarted for several times then...

schedule jobs

How can i create a stored procedure that runs a sql schedule or update the date and time for a schedule job.


All times are GMT. The time now is 11:28 PM. | Privacy Policy