Let me clariy, I do not want the job to run until the next scheduled time. : That's right. That is exactly what should happen if you use the second : method,... and you get only one instance of the job running at a time. If : there is nothing to do the job should simply exit without doig really : anything. Add "to do" check to the job logic and you should be : fine. : If you decide to stick wth the first method, make sure the job is set to run : async. Also don't confuse job start-end events in the log with job really : doing the work. The log simply indicates that the job wanted to start. : However if implemented correctly the job must check the global flag and : exit immediatelly after start if it finds another instance of the job : already running.
|