?
Solved

Why won't my scheduled task run?

Posted on 2008-06-25
5
Medium Priority
?
376 Views
Last Modified: 2010-03-05
Hi
I have 2 scheduled tasks. Only Task A works.
Task A calls .net program that extracts data into a csv file and places on C drive.
Task B calls .net program that  takes the extracted data and uploads to an internet site.

Both tasks did run before the administrator password was changed. I have since changed password on both these tasks and only the first one works.

Things I've tried:
run manually  - Task B works if run manually from command line.
setup Task A in same directory as Task B - Task A worked.
re-added Task B - still did not work.
Checked security on Properties - Task B  has full access.

My question is how do I get Task B to work and where should I look Re security issues etc.
Thanks
0
Comment
Question by:cmrnp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 7

Expert Comment

by:Christopher Martinez
ID: 21871026
Anything in system log with a error report?
0
 
LVL 1

Author Comment

by:cmrnp
ID: 21871045
Nothing in Event viewer at all after I run Task B.
The reason I know it has run or not is it produces a text file with results.
0
 
LVL 15

Expert Comment

by:greyknight17
ID: 21872090
Are the two tasks running at the same time? if so, try to give task A more time to extract the data before scheduling task B to run.
0
 
LVL 1

Author Comment

by:cmrnp
ID: 21872096
No. - They are half an hour apart.
The file for Task B already exists and is run by itself.
0
 
LVL 1

Accepted Solution

by:
cmrnp earned 0 total points
ID: 21872178
I placed Scheduled task Commands within a batch file instead then ran the batch file as the task.

This worked.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question