File Trigger (Problem) with "Put Job in Queue" - Version 4.9.35 - VisualCron - Forum

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


adutoit
16 years ago

The information contained by the trigger (file,path,etc) does not appear to be saved along with the job placed into the process queue.

The requirement is to pass to a program the file-name that caused the trigger. The VC variable {TRIGGER(,File.Result.Name)} is used in the command-line to pass the file-name. For eaxmple - Files can arrive at 5 second intervals; the VC Job can take 20 secs to complete.

The "Put Job in Queue" enabled. I can confirm that VC behaves as advertised as no triggered jobs are "lost". However the {TRIGGER(,File.Result.Name)} does not appear to be queued along with the job. Thus the same {TRIGGER(,File.Result.Name)} value is passed to multiple jobs.

Could VC support advice if this is a bug or should be considered a feature request?





Sponsor
Forum information
ErikC
16 years ago
I have a same setup over here, but I have all the paths needed for every file. I use the following variable:

{TRIGGER(Active,LastTrigger,File.Result.FullPath)}

So from the VisualCron variables \ Jobs \ Active Job \ Triggers \ Last Trigger \ File

Regards,
Erik
Uses Visualcron since 2006.
adutoit
16 years ago
Erik

Thank you for your assistance. By referencing the Active Job Trigger Event stack it works fine.
Cheers
Anton
ErikC
16 years ago
🖐

Regards
Erik
Uses Visualcron since 2006.
Scroll to Top