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.


tam_helpdesk
2018-08-08T20:07:22Z
So,

I'm writing a task which preforms an FTP download. It needs to download 2 files, and should fail if it only downloads one. So in the 'on error' tab, I tell visualcron:
throw error 77777 if standard output does not contain XYZ;ABC
Will it throw if the output does not contain both? Or will it just consider the semi-colon as part of the match string? Am I better off putting that in 2 separate tasks, or can error handling perform multi-variable output checking?

Thanks!
Sponsor
Forum information
Support
2018-08-09T16:57:04Z
You can check the download count instead. If less than 1 than one then do x or similar. Use this Variable:

{TASK(Active|Result.NoDownloadedFiles)}

or if used in follow up Task:

{TASK(PrevTask|Result.NoDownloadedFiles)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top