Scheduled Tasks vs Cron jobs

agibby5

Senior member
Jun 23, 2004
990
0
76
I know the purpose for each is the same, to run scheduled jobs. However, I tried to create very simple batch files and setup scheduled tasks for them under my Windows box at work.

One batch file was to reboot the computer. Simple enough? You'd think. The result is always "Could not start". However, when I right click the task and select "Run" or even run the batch file from within Explorer, it works fine. I have another batch file to backup some files, and the scheduled task for it will not run and it also says "Could not start".

At home, it took me about 5 minutes to learn the syntax of adding a line to the cron file. Also, adding scripts to cron.daily, etc. are very simple. In Linux, this stuff works, as I'd expect the same, basic functionality to 'just work' under Windows.

Linux +1, Windows 0
 

Netopia

Diamond Member
Oct 9, 1999
4,793
4
81
Funny... I've got a number of machines with a scheduled task to reboot. Did you specify a "run as" with password? Perhaps it's a PEBKAC situation.

;)

Joe
 

Drakkon

Diamond Member
Aug 14, 2001
8,401
1
0
I replaced task scheduler in windows with pycron - much more better/familiar soln ;)
 

agibby5

Senior member
Jun 23, 2004
990
0
76
pycron looks like a good alternative. I'll have to try it out tomorrow at work