Batch file not running in task scheduler
-
Friday, February 15, 2013 7:31 PM
Hello,
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 ofecho off
start iexplore.exe
All Replies
-
Saturday, February 16, 2013 3:35 AM
Hi jinilgw,
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
Thanks
MCP | MCTS 70-236: Exchange Server 2007, Configuring
Twitter - @yagmoth555 (
)
Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/- Marked As Answer by Vivian_WangMicrosoft Contingent Staff, Moderator Thursday, February 21, 2013 1:05 AM

