C Cmder Junior Member May 4, 2011 1 0 0 May 4, 2011 #1 So, I need a way to run a batch file after a certain day and keep it running. I tried using the IF command with %DATE% == %DATE2% with DATE2 set to 05-14-2011, the day that I want it to run, but that doesn't work out. Any ideas on how I can do this?
So, I need a way to run a batch file after a certain day and keep it running. I tried using the IF command with %DATE% == %DATE2% with DATE2 set to 05-14-2011, the day that I want it to run, but that doesn't work out. Any ideas on how I can do this?
sourceninja Diamond Member Mar 8, 2005 8,805 65 91 May 4, 2011 #2 You could use a task scheduler such as http://cronw.sourceforge.net/
mvbighead Diamond Member Apr 20, 2009 3,793 1 81 May 4, 2011 #3 Or just use windows task scheduler to run the job...
sourceninja Diamond Member Mar 8, 2005 8,805 65 91 May 4, 2011 #4 mvbighead said: Or just use windows task scheduler to run the job... Click to expand... I've never found windows task scheduler to be reliable, although I haven't used it after windows xp.
mvbighead said: Or just use windows task scheduler to run the job... Click to expand... I've never found windows task scheduler to be reliable, although I haven't used it after windows xp.
Chapbass Diamond Member May 31, 2004 3,145 93 91 May 4, 2011 #5 Use the windows command "at" http://support.microsoft.com/kb/313565