Scheduled Task Syntax

L

Larry

Hi, I use Task Scheduler as a "reminder" service. I use it to open a Notepad
file, by having it run: "C:\Documents and Settings\Larry\My
Documents\TaskSchedulerReminder.txt". I noticed today (in the Task Scheduler
log) that the task is running for over 15 minutes:

"NOTEPAD reminder.job" (TaskSchedulerReminder.txt)
Started 8/5/2006 12:55:01 PM
"NOTEPAD reminder.job" (TaskSchedulerReminder.txt)
Finished 8/5/2006 1:16:21 PM
Result: The task completed with an exit code of (0)."

It seems to me the task should complete in a few seconds, why's it running
for so long? Should I modify my Run statement somehow so that it runs and
closes immediately? TIA.
Larry
 
D

Dave Patrick

The second time stamp indicates when you closed the file
TaskSchedulerReminder.txt

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hi, I use Task Scheduler as a "reminder" service. I use it to open a
Notepad
| file, by having it run: "C:\Documents and Settings\Larry\My
| Documents\TaskSchedulerReminder.txt". I noticed today (in the Task
Scheduler
| log) that the task is running for over 15 minutes:
|
| "NOTEPAD reminder.job" (TaskSchedulerReminder.txt)
| Started 8/5/2006 12:55:01 PM
| "NOTEPAD reminder.job" (TaskSchedulerReminder.txt)
| Finished 8/5/2006 1:16:21 PM
| Result: The task completed with an exit code of (0)."
|
| It seems to me the task should complete in a few seconds, why's it running
| for so long? Should I modify my Run statement somehow so that it runs and
| closes immediately? TIA.
| Larry
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top