I think I found another problem with the scheduler service. When jobs are loaded from the database, the jobs are ordered on their Job_id istead of their jobtime.
If for instance job one has to run at 9 50 and job2 has to run at 10:00 and you start the scheduler service at 9:55 then job 1 will be resheduled for the next day and your worker thread wil be blocked for 23h55m. I modified the sortQueue method on the jobQueue to sort the queue based on the runtimes of the items instead of the jobId. Any objections ? I will send my corrections to this list when I cleaned up my code so it can be applied by everybody Regards Erik -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
