I have been trying to use the for and at commands on NT Server 4.0 to schedule a .bat file to run every 5 minutes. This is the best solution I can come up with, but it doesn't seem to work.
at a command prompt:
c:\for /L %a in (0,1,23) do for /L %b in (0,5,55) do at %a:%b /every:m,t,w,th,f,s,su d:\gbat\run_cron.bat
But I keep getting a strange error message:
0 was unexpected at this time.
I'm not sure what this message means... I've never seen it before.
If anyone could help, it would be greatly appreciated.
-Pete
at a command prompt:
c:\for /L %a in (0,1,23) do for /L %b in (0,5,55) do at %a:%b /every:m,t,w,th,f,s,su d:\gbat\run_cron.bat
But I keep getting a strange error message:
0 was unexpected at this time.
I'm not sure what this message means... I've never seen it before.
If anyone could help, it would be greatly appreciated.
-Pete