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.


faulk
  •  faulk
  • No customer Topic Starter
2010-07-16T10:46:46Z
Hello,

I made a task who try to download every day between 7am to 9am and every 15min a file by ftp.

It works fine but re-download it every 15min, even if the file was download with success.

I want the task stop try to download the file if it succeed for the day. But restart the next day.

How can i do this simply?

I hope to be clear, Sorry for my english :s

Clément
Sponsor
Forum information
Support
2010-07-16T10:53:09Z
One solution is to add a Job/Task control Task after your FTP download Task. That Task deactivates the current Job.

Add a Condition to that Task that checks if the number of downloaded files are greater than 0 (use the Variable Condition together with result Variable from first Task).

If the Condition is a match you want to Continue and deactivate the Job.

Then, create a second Job that activates the first Job every day at 6:45.

--

Another alternative, if your file names are unique for each day you could just change the FTP Task so it does not overwrite existing files.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
faulk
  •  faulk
  • No customer Topic Starter
2010-07-19T10:34:49Z
Scroll to Top