[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Why won't my scheduled task run?

Posted on 2008-06-25
5
Medium Priority
?
378 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
The article covers five tools all IT professionals should know about, as they up productivity by a great deal!
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). …
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…

831 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