Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


ErikC
  •  ErikC
  • Paid support Topic Starter
2012-04-25T07:47:31Z
Hi,

I just find something strange, but this might be solved in 6.1.0.
I have a SFTP (SSH secure shell) upload task. It uploads only one file and I have set it up to retry the task 5 times after a 5 minute wait.

This morning a client called me telling me they are missing the file.
I checked and the task was successful.
I chekced the log and I saw the following:

------------------------------------------------------------------------------------------------------------------
Copy zipfile
Result:         Connection failed (error code is 10061)
Last run:       4/25/2012 4:32:06.91 AM
Last exited:    4/25/2012 4:32:07.95 AM
Execution time: 1.076 seconds
------------------------------------------------------------------------------------------------------------------
Output:

---------------
Error output:
Connection failed (error code is 10061)

------------------------------------------------------------------------------------------------------------------
Copy zipfile
Result:         Success
Last run:       4/25/2012 4:37:10.28 AM
Last exited:    4/25/2012 4:37:10.28 AM
Execution time: 0.001 seconds
------------------------------------------------------------------------------------------------------------------
Output:

---------------
Error output:


And this is the serverlog:

4/25/2012 4:32:06 AM	Info	Task started: Copy zipfile (190189)
4/25/2012 4:32:07 AM	Err	Error connecting: Connection failed (error code is 10061)
4/25/2012 4:32:07 AM	Info	Task completed: Copy zipfile (190189)
...
4/25/2012 4:37:10 AM	Info	Task started: Copy zipfile (190200)
4/25/2012 4:37:10 AM	Info	Task completed: Copy zipfile (190200)


When I manual ran the job again the copy went fine:

------------------------------------------------------------------------------------------------------------------
Copy zipfile
Result:         Success
Last run:       4/25/2012 9:15:50.10 AM
Last exited:    4/25/2012 9:15:53.52 AM
Execution time: 3.418 seconds
------------------------------------------------------------------------------------------------------------------
Output:
Server key received (RSA). Fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
Changed folder to: /
Uploaded file: F:\Data\FTP\xxx\toZV\xx\Dagbestanden2\dagbest.zip > /dagbest.zip

---------------
Error output:


and the server log:

4/25/2012 9:15:50 AM	Info	Task started: Copy zipfile (193285)
4/25/2012 9:15:53 AM	Info	Task completed: Copy zipfile (193285)


As you can see the copy task taskes a few seconds to complete. So the task from 4:37AM can't be successful. There is also no output of the task telling me there has been a file copy. My manual try has output as you can see.

To work around this, I made a condition to check the output of the upload task, but this is a firefight solution.

How can the task be ok, the file was there but nu uploaded file??

Regards,
Erik
Uses Visualcron since 2006.
Sponsor
Forum information
Support
2012-04-25T07:52:13Z
Is this your own log or the VisualCron log history for the specific Task?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Paid support Topic Starter
2012-04-25T07:54:32Z
Hi Henrik,

The server log is from VC, the other logs are own task output logs written to a file.
The task log contains the output and the error output.

Regards,
Erik
Uses Visualcron since 2006.
Support
2012-04-25T07:55:51Z
Originally Posted by: ErikC 

Hi Henrik,

The server log is from VC, the other logs are own task output logs written to a file.
The task log contains the output and the error output.

Regards,
Erik



Are you saying that the Task log contains all output but the file not?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Paid support Topic Starter
2012-04-25T08:01:32Z
No,

What is see is that the task failed the 1st time, tried it again after 5 minutes and marked the task as success. But there was no file uploaded. You can see that the 2nd try only 0.001 second to complete. That can't be right.

I did not know about this failure till a client called me, he missed a file.

I ran only the upload file task again, and than the upload went fine. It took more than 3 seconds which is normal and you can see in the task output some response from the ftp server (fingerprint and the file being copied).

My issue here is that the task is success, but there is no file uploaded.
Uses Visualcron since 2006.
Support
2012-04-25T10:47:22Z
Ok, I can not reproduce this in 6.1.0 so I assume this has been fixed.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Paid support Topic Starter
2012-04-25T11:18:04Z
Thanks for letting me now and test this.
Can't wait for the release of this version ;-)

Regards,
Erik
Uses Visualcron since 2006.
Scroll to Top