Two task completed for one task started - VisualCron - Forum

Community forum

mlbrooks@magellanhealth.com
2010-10-15T18:45:57Z
I have excerpted from the VC log all "FTP_CHECK" lines. It shows the following:

20086 10/11/2010 9:00:01 AM Info Job started: FTP_CHECK
20089 10/11/2010 9:00:01 AM Info Task started: FTP_CHECK
20440 10/11/2010 9:10:01 AM Info Job was not started because it was already running (FTP_CHECK)
20776 10/11/2010 9:20:01 AM Info Job was not started because it was already running (FTP_CHECK)
21145 10/11/2010 9:30:01 AM Info Job was not started because it was already running (FTP_CHECK)
21301 10/11/2010 9:34:51 AM Info Task completed: FTP_CHECK
21304 10/11/2010 9:34:51 AM Info Task completed: FTP_CHECK

21305 10/11/2010 9:34:51 AM Info Job completed: FTP_CHECK
21387 10/11/2010 9:35:15 AM Info Job started: FTP_CHECK

The job is started every 10 minutes, but does not start if one is already running. At 9:34:51 we got two "task completed" messages and then a "job completed". Then the job was restarted at 9:35 only 5 minutes after it had run before. It appears from the FTP_CHECK log that the task was not stopped at 9:34; but a new process kicked off at 9:35 and after it was completed, the job running at 9:34 continued and ran to completion. The end result was we erroneously ftp'd some files twice. Can you give me a hint at what is going on. Further information available upon request.
Support
2010-10-27T20:57:05Z
1. are you using any Conditions?
2. is there any other settings than default in "On error" tab of Task?

Try turning on Extended debugging in server settings. That will give us more information if it should happen again.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top