I wrote a script in Ruby. I’d like to run it every day at a certain time. How do you do that on a Windows XP system?
I poked around on the machine and discovered the ‘scheduled tasks’ control panel, but it doesn’t seem to have anything to do with running scripts, as far as I can tell from the options offered by the ‘wizard’.
Scheduled Tasks. Sometimes, you have to make a batch file call the script, and schedule the batch.
say you have ‘script.vbs’ you want to run, you will have to create this batch:
cscript is the windows script host which interprets the vbs script. I’m sure ruby has something similar.