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


itoperations@clicksquared.com
2016-03-18T18:28:06Z
Support,
I have verified this issue on 8.0.0 and 8.0.2 on different servers. Can you please advise if if there is a workaround for this?

The requirement is to move a file from Location A to Location B. We need to report on the success or failure of the file move. However, a file will not always be present in Location A, and the job runs every hour, so we do not want emails unless there is a file to be moved.

What I did to address this is create a job with 2 tasks. The 1st task is a File List and will look for the file in Location A based on a name filter. If the file is not there, it will fail and block the job from running further. It will also not send any notifications. If the file is found, then the 2nd task is run that will move the file. This task will notify on Successes and Failures.

The issue that we are seeing is that if the file is not there, the job runs correctly, blocking the 2nd step and not reporting any issues. On the 1st run of the job when there is a file found, it runs successfully (everything is green and the file is moved), but the notification reports a Failure. All runs after that where the file is present, are notified as Success. The process repeats once there is no file. So if the file is only present every other run, it will always notify as a Fail.

Any help is appreciated.

Thanks,

Ryan
Sponsor
Forum information
Support
2016-03-21T10:39:00Z
The best solution for you is to use the File Trigger for this. It will be instant and with less CPU resources taken. And you will only receive an email when actually moved.

Please look at the video tutoiral for the File Trigger.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
itoperations@clicksquared.com
2016-03-21T19:59:37Z
This is a pretty cool option. It does not exactly satisfy the once per hour request from my developers, but as it will grab the file whenever they drop it, I think they will like this option better. Thanks for the quick response.
Ryan
Scroll to Top