run batch in task Scheduler rise problem in server 2008 R2
For a long time, I sometimes got (0x1) error from task scheduler in Windows server 2008 R2. Finally solve it by separating all the cmds in the batch file and add them one by one in the "Actions" in Task Scheduler. It seems that the task scheduler can not run a batch file correctly for some reason. But have no idea why.