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.


jtnelso
2012-04-25T14:44:41Z
I need a condition that checks 4 files to ensure they are updated on today's date.
However, I have no idea how to go about doing this.

Logic:
If FILES date = today's date THEN
Run Job
Else
Wait Until True
End If
Sponsor
Forum information
Support
2012-04-27T06:37:19Z
I think there are several ways to do this. Personally I would first use the List files Task as that have a good filter (including date). That returns a list of all files.

I do not know what is your condition that all (a certain number) or that you want to process any file that matches the date condition?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
jtnelso
2012-05-07T19:55:37Z
I used a List File Task to get a list of files with Modified Dates > yesterday. (see attached screenshot of Task test results)

Now, I need to have a Condition that essentially process this logic:

If 4 files found in the List Task, then run [Job X].
Else Wait Until True

How do I use the results of the List File Task in a condition?
jtnelso attached the following image(s):
Support
2012-05-09T13:27:09Z
The problem is that List files Task does currently not return any result Variables. I suggest adding such Feature requests.

You could probably workaround this by using the Variable Condition and check against this value:

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