Solved

Why won't my scheduled task run?

Posted on 2008-06-25
5
371 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
  • 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now