Question Locked

Scheduled task running batch file

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am running scheduled task on windows server 2003 daily under administrator account.
Scheduled task is running batch file.

BATCH FILE CONTENT:
-------------------
start iexplore.exe http://www.anything.com/import/import.aspx

PROBLEM:
--------
When I run task manually - Scheduled task is executed successfully and import is done.
When I run in LogOff mode Scheduled task is executed succesfully but nothing happened.

I think problem is in running iexplorer in LogOff mode.

Any suggestion please!
Thanks!
Zoran

4 replies

by thumbsup2

You would need to provide a user account credentials to get it to run if the machine is logged off.

by joe

Hi, did you find a solution for your problem? I am having the same issue whereby the batch file runs fine manually, but the scheduled task doesn't do what is it is supposed to do.
When I run my scheduled task of the same batch file, the task supposedly runs (silently - which is another problem) and returns 0x0 status code (success). But, the outcome of what the batch file is supposed to do does not happen!! arrrrrggggg
his occurs when both running the scheduled task both manually and when logged off. Please help !

by zoran.mardetko

I solved this problem with Windows service which is running import.aspx

This discussion is closed to new replies.