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.


LouS.
  •  LouS.
  • No customer Topic Starter
2014-07-07T20:37:31Z
I'm evaluating the program and I want to know the best way to simulate a current program/process we have that:

* Between 1:00PM and 3:00PM, 'wakes up', checks for the existance of a file, and if found runs a particular application that processes the file.

I see that there is a file watch type event, which would work in some of our cases, but where do I put the interval (1-3:00PM). Is that in the flow? (once the file is processed, the job need not run again that day). Is that in the trigger?

Thanks in advance, and if the problem is solved, we will be purchasing the product.

Sponsor
Forum information
Support
2014-07-08T08:01:02Z
The file watcher is good if you want to react right away on a newly created file. In your case it does not sound so so it is better to schedule between 1 and 3 PM and use the Get Files Task. Then, in the follow up Task you can use the output from the previous Task in a loop to process the found files (in whatever Tasks you want to processes it with).

You can reach the output of the previous Task (in this case a list of Files) with this Variable: {Task(PrevTask,StdOut)}

You use that Variable in the upcoming Tasks loop settings. I recommend that you take a look at the loop tutorial here:

http://www.visualcron.com/Tutorials.aspx 

Let us know if you get stuck.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2014-07-08T08:02:46Z
Also, as a last Task in the loop we recommend that you either delete or move the file so it is not processed again next time.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
LouS.
  •  LouS.
  • No customer Topic Starter
2014-07-08T13:54:02Z
Henrik:

Thanks, appreciate the quick response. I will look at it.

Scroll to Top