Question

Locked

Scheduled task running batch file

By Zoran.mardetko ·
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

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

re: Running in LogOff mode

by ThumbsUp2 In reply to Scheduled task running ba ...

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

Collapse -

Same problem on 2008 server

by joe In reply to Scheduled task running ba ...

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 !

Collapse -

Scheduled task running batch file - Solved

by Zoran.mardetko In reply to Scheduled task running ba ...

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

Back to Networks Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums