Solved

Why won't my scheduled task run?

Posted on 2008-06-25
5
368 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
Comment Utility
Anything in system log with a error report?
0
 
LVL 1

Author Comment

by:cmrnp
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
I placed Scheduled task Commands within a batch file instead then ran the batch file as the task.

This worked.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Laptop fast cheaper recommend 8 43
Share and Advanced Sharing permissions 8 52
Register AutoHotkey 12 38
FlexNet and ususweb.dll 3 12
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

762 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

8 Experts available now in Live!

Get 1:1 Help Now