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


pkujonewicz
2009-06-04T23:03:21Z
I've been playing with the file triggers, and at first I had a few things set:

Created
Changed
Renamed

Under certain circumstances I was seeing triggered jobs running twice in response to one action, like renaming the file. Sometimes the job start time would be identical for "both" job runs. It was really weird.

Once I removed "renamed" as an option, it started behaving normally when I renamed files. Say the trigger was CREATED/CHANGED for all *.m4v in a directory. Changing the name of the file (not the extension) would cause the job to trigger only once, as expected.

But then I tried using .txt files. Creating it copied it once, as expected. But if I open it in notepad and edit it, and hit save, the VC tray client shows me that the job was triggered twice in quick succession. I am also getting email notifications of the job running twice, and the task running twice.

Strange thing is the two Job notifications show the same job ID and start time and no. of executes. But the task starts and no. of executes are different.

Also, one Job is Status: Running and one is Status: Waiting (I'm outputting the status variables in the email notification).

Is this to do with the way notepad saves a file? Maybe VC is reacting to it twice.

On top of all that, I think when you clone a job, the "no. of executes" variable seems to be copying over too, even though the new job gets a new Job ID. Contained tasks do not behave in this manner.
Sponsor
Forum information
Support
2009-06-04T23:16:52Z
Yes, this is correct, the change event triggers twice (from Windows). These functions are straight imported in VisualCron. from Windows - as is. Some functions have less usage. Maybe there is no need for the change event that Triggers twice - at least it might be confusing. We will go through these once more to see the real usage before removing options.

About the Clone bug - we will look at this as well.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top