From: Mohit Sindhwani Date: 2007-11-09T01:37:39+09:00 Subject: Re: Windows: Scheduled Ruby script won't run Michael Gaunnac wrote: > On Nov 7, 2007 1:35 PM, wrote: > > > The attached file contains the parts of a Scheduled Task that reports > a restart of a Windows OS instance through email and any errors > associated with Terminal Services. The parts are separated by dashes. > This may be more than what you are looking for but it contains some > hard won information. > Hi, I'm not sure and I can't tell much from the script without trying it out. Could you try something? In your .cmd file, can you do a chdir to the directory in which it's supposed to run. Do the same for the Ruby script also. See if that helps. Cheers, Mohit. 11/9/2007 | 12:37 AM.