SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Asynchronous still hangs scheduler when job hangs

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Asynchronous still hangs scheduler when job hangs
Author Message
jh123



Joined: 12 Nov 2008
Posts: 1
Country: Canada

Post Asynchronous still hangs scheduler when job hangs Reply with quote
We are using 24x7 to run about a dozen reports. A few are SQL queries, but most are batch files, spreadsheets and access db's triggered to autorun reports through VBA.

Each report may have up to five jobs chained together (e.g, run sql query, then format through spreadsheet, then email report). If one of the jobs fails, then we don't want the chained jobs to run. This does work well.

However, if the job scheduled for 2AM fails, then we still need the job scheduled for 2:30 AM to run. This is not working. We have set all jobs to run asynchronously, but still, when the 2AM job hangs, the 2:30 AM job is never called. And even though "asynchronous" is selected, the scheduler is hung and the gui can't be used until the hung job is killed.

Further, when we come in the morning, and kill the hung job, then all the other jobs try to run at once, causing havoc with our databases.

We need a way to allow a job to hang (or to take longer than usual) without hanging the scheduler and causing all of the other scheduled jobs to fail.
Wed Nov 12, 2008 11:33 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Quote:
We have set all jobs to run asynchronously

Quote:
kill the hung job, then all the other jobs try to run at once



You've got a problem here. Do not use Async mode for anything other than jobs that run forever. I mean jobs that run for many hours or run a never ending loop.

Use multiple job queues to parallelize job streams. Also make sure all your reporting jobs are set to run in Detached mode. In that case each stream will be totally independent and it wouldn't matter when jobs in other queues fail or get killed as they aren't going to affect other queues.

Hope this helps.
Wed Nov 12, 2008 11:45 am 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.