Solved

Why won't my scheduled task run?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

932 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

10 Experts available now in Live!

Get 1:1 Help Now