RE: How to determine if a scheduled task is already running?

2003-11-11 Thread Philip Arnold
Why not set an Application variable when it starts and un-set it when it stops? The problem with this is if it crashes, then it'll think it's running, but it isn't -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 12:47 PM To: CF-Talk

RE: How to determine if a scheduled task is already running?

2003-11-11 Thread cf-talk
Not exactly sure what you're looking for but you can set the task up to write it's output to a file.  For example c:\filename.log Then all you have to do is watch the file date and time of c:\filename.log to know if the task ran or not. -Novak -Original Message- From: Pete Ruckelshau

Re: How to determine if a scheduled task is already running?

2003-11-11 Thread Tom Kitta
For many tasks I just send myself an e-mail once the execution is over. If I don't get a message then I know that it crashed. I also put diagnostic information in that e-mail (like how many records got processed etc.) This is good for tasks that run once a day or less. For tasks that run often I ha

Re: How to determine if a scheduled task is already running?

2003-11-11 Thread Jacob
Go to Task Manager... If you see MSTask.exe running, then a schedule task is running. If your Schedule Task calls another program, then that program will be running also. For instance, to mirror/copy our servers, we use a file sync program.  If I look under Task Manager and see MSTask running

RE: How to determine if a scheduled task is already running?

2003-11-11 Thread cf-talk
Ummm... wouldn't you know it when you didn't get an email? :-) -Novak -Original Message- From: Tim Robins [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 11:03 AM To: CF-Talk Subject: Re:How to determine if a scheduled task is already running? Be careful relying on CFMAIL t

RE: How to determine if a scheduled task is already running?

2003-11-11 Thread peter . tilbrook
  e.com>   cc:                Subject:  RE: How to determine if a scheduled task is already running?     12/11/2003 08:46    

RE: How to determine if a scheduled task is already running?

2003-11-12 Thread [EMAIL PROTECTED]
But notification of failures via inference is not necessarily a good thing... > Ummm... wouldn't you know it when you didn't get an email? :-) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: How to determine if a scheduled task is already running?

2003-11-12 Thread Haggerty, Mike
Um... perhaps I am missing something here, but the scheduler.log file lists the name of the task and the result of running it. Couldn't you either manually check to see if it is running, or else write some script that checks to see when it was last run? M -Original Message- From: Pete Ru

RE: How to determine if a scheduled task is already running?

2003-11-12 Thread cf-talk
etter than having no checks and balances in place?  Absolutely. -Novak -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 7:33 AM To: CF-Talk Subject: RE: How to determine if a scheduled task is already running? But notification of fa

RE: How to determine if a scheduled task is already running?

2003-11-12 Thread Tom Kitta
: cf-talk [mailto:[EMAIL PROTECTED]   Sent: Wednesday, November 12, 2003 11:35 AM   To: CF-Talk   Subject: RE: How to determine if a scheduled task is already running?   Neither is falling asleep at the wheel when you're driving. :-)   The only point I was trying to make is that when you d

Re: How to determine if a scheduled task is already running?

2003-11-12 Thread Thomas Chiverton
On Wednesday 12 Nov 2003 16:53 pm, Tom Kitta wrote: > I definitely agree with Novak, it works for me without any problems. I am a > bit puzzled as to a better solution, a separate task management system > maybe? But how about an easy, quick and cheap solution that is better than > e-mail notificati