SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
some jobs run twice !

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
some jobs run twice !
Author Message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post some jobs run twice ! Reply with quote

Hello
I have a job that looks for a semaphore every minute.
When it finds it it runs a database procedure then emails me.
I seem to be getting the email twice which indicates that maybe the job has run twice.
But when I look at the job log it only looks like it has run once !
I have not changed the code and the only thing we have done recently is upgrade to the latest version of 24x7.
I have increased the interval for it to look for the semaphore to 10 mins instead of 1 minute in case that has an effect.

Thu Nov 28, 2002 5:12 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: some jobs run twice ! Reply with quote

The file is probably found second time before the first job instance is not yet started or complete. As result you get 2 job instances in the queue and both execute email notification action on startup.
But the second job instance does not really run as the file is already moved or deleted so it sends an email and then quits.

One of new enhancements in version 3.4, which will be available in a week or two, is automatic prevention of such cases. The scheduler will not start secondary job instances for the same files if the first job instance is still queued or running.

: Hello
: I have a job that looks for a semaphore every minute.
: When it finds it it runs a database procedure then emails me.
: I seem to be getting the email twice which indicates that maybe the job has
: run twice.
: But when I look at the job log it only looks like it has run once !
: I have not changed the code and the only thing we have done recently is
: upgrade to the latest version of 24x7.
: I have increased the interval for it to look for the semaphore to 10 mins
: instead of 1 minute in case that has an effect.

Thu Nov 28, 2002 12:02 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.