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


JeanetteW
2009-07-13T21:18:28Z
I have a situation where I download/decrypt files for processing. It could be 1 file or 10 files at a time. I need to be able to grab 1 file at a time, rename it to a static file name, and process the file. Then grab the next file, etc. until all files have been processed.

Any recommendations on how to set this up in Visual Cron?

Thanks
Jeanette
Sponsor
Forum information
Support
2009-07-14T00:40:26Z
Instead of "grabbing" in a pulling way you should use the File Trigger to watch a folder instead.

Use "Put Job in queue" option in Job main settings.

Use LastTrigger Variable to pick upp full path of file or filename.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
JeanetteW
2009-07-14T17:56:40Z
I setup a trigger to monitor the folder, my first task is to read the file and I am receiving an error "illegal characters in path" I have the file path set as follows:
{TRIGGER(4267919b-4706-4993-825f-91b0f180889b,LastTrigger,File.Folder)}\{TRIGGER(4267919b-4706-4993-825f-91b0f180889b,LastTrigger,File.FileMask)}

Am I using the incorrect trigger? I tried it without the \ between the folder and filemask, same results.

Jeanette
Support
2009-07-15T14:53:15Z
Instead of using 2 Variables use the {TRIGGER(4267919b-4706-4993-825f-91b0f180889b,LastTrigger,File.Result.FullPath)} Variable instead. Or even better, if you are still within the same Job: {TRIGGER(Active,LastTrigger,File.Result.FullPath)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2011-09-21T14:07:29Z
Later versions have the file filter on the Rename Task which enables renaming on multiple files.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top