Friday, February 15, 2013 7:31 PM
Trying to figure out why windows task scheduler on server 2008 r2 will not run automatically, but will manually.
This is the contents of the batch file -
echo Starting SDD %date% %time% >> c:\users\xxxxx\sdd.log
C:\PROGRA~2\INTERN~1\iexplore.exe https://xxx.xxxxxxxx.com/sdd/xxxx.S [...] HEDULE=YES
Again, this runs when you select run in task scheduler and runs from cmd prompt.
Task is set to run for administrator group, once a day, with highest privileges. Log on as batch job, all permissions set to full control for all files and folders. Start path designated even though it is declared optional.
Same thing happens with a simple batch file of
Saturday, February 16, 2013 3:35 AM
iexplore.exe need to interact with the desktop, thus if your server is in the login screen I really doubth that this task would run. If you need to send a command to a website I would recommand that tip; http://www.iislogs.com/steveschofield/Schedule-a-task-to-call-a-webpage-using-Task-scheduler_2E00_ it use vbs' function to open the website with the parameter you might need in the post data
- Marked As Answer by Vivian_WangMicrosoft Contingent Staff, Moderator Thursday, February 21, 2013 1:05 AM