XP Pro Task Scheduler - run every 5 minutes

A

ang099

I have a job that I have to run every 5 minutes for event notification
on a calendar system I set up.

I seem to have everything configured correctly, but when I look at the
logs, the Scheduler intermittently stops running the job.

Here's part of the log:

Started 5/2/2006 1:55:00 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 1:55:01 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 2:00:00 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 2:00:01 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 2:05:00 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 2:05:01 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)

***Right here is one instance where the job just stops. The next line
is where I manually restarted it*****

Started 5/2/2006 3:19:11 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 3:19:12 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 3:19:59 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 3:20:00 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 3:20:41 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 3:20:42 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 3:26:54 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 3:26:55 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 3:38:57 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 3:38:58 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
[ ***** Most recent entry is above this line ***** ]

I copied this log at 3:55 pm, the last job was run at 3:39.

Any ideas why it would just randomly stop? No errors show in the log,
it just....Stops.

My company is requiring that I have this calendar set up with event
notifications, hence the cron job every 5 minutes. I really have to get
this working, and I have limited knowledge of XP administration. Help!

Win XP Pro SP2 - Let me know if you need any more info.
 
P

Pegasus \(MVP\)

I have a job that I have to run every 5 minutes for event notification
on a calendar system I set up.

I seem to have everything configured correctly, but when I look at the
logs, the Scheduler intermittently stops running the job.

Here's part of the log:

Started 5/2/2006 1:55:00 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 1:55:01 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 2:00:00 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 2:00:01 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 2:05:00 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 2:05:01 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)

***Right here is one instance where the job just stops. The next line
is where I manually restarted it*****

Started 5/2/2006 3:19:11 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 3:19:12 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 3:19:59 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 3:20:00 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 3:20:41 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 3:20:42 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 3:26:54 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 3:26:55 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
Started 5/2/2006 3:38:57 PM
"Thyme.job" (php.exe)
Finished 5/2/2006 3:38:58 PM
Result: The task completed with an exit code of (0).
"Thyme.job" (php.exe)
[ ***** Most recent entry is above this line ***** ]

I copied this log at 3:55 pm, the last job was run at 3:39.

Any ideas why it would just randomly stop? No errors show in the log,
it just....Stops.

My company is requiring that I have this calendar set up with event
notifications, hence the cron job every 5 minutes. I really have to get
this working, and I have limited knowledge of XP administration. Help!

Win XP Pro SP2 - Let me know if you need any more info.

I suspect that you have two jobs scheduled. Have a look at
your own log entries:
Started 5/2/2006 3:19:11 PM
Started 5/2/2006 3:19:59 PM
Started 5/2/2006 3:20:41 PM
Started 5/2/2006 3:26:54 PM
Started 5/2/2006 3:38:57 PM

I thought the job is supposed to start every 5 minutes, not every minute?
 
A

ang099

That was me manually starting it, to test the events.

I'm not sure if a script would work.. I'll look into it, thanks!
 

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