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


cstump
2010-05-25T23:50:40Z
I am working on a simple looping construct using conditions.

In task "ftp results" I set variable X to 0
In task "xxxx" I check the value of X. If it is 0, I run task "ftp1"

Problem is, task "ftp1" is never executed. I keep getting "Task: ftp1 was not started"

If I change task "xxxx" to a mail task and keep the conditions the same, it works. That makes me believe my condition is evaluation correctly. As a test I changed the condition check to be != 0 and get the same result. What is preventing my task from being executed?

I am using version 5.6.0

Chuck

cstump attached the following image(s):
Sponsor
Forum information
Support
2010-05-26T17:51:01Z
You should probably see in the log why the Task was not started. It could be a Condition that stops it or similar. Add debugging to the Conditions that you have (in the Condition set window). Then run it again.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cstump
2010-05-26T18:01:24Z
Here is what the logs have to say:

5/26/2010 11:57:35 AM Debug Running Condition Set: '' for Task: xxxx
5/26/2010 11:57:35 AM Debug Variable Condition (Int32->Equal) returned: Match
5/26/2010 11:57:35 AM Debug Condition Set (Task) returned: MatchAll-> ActionContinue
5/26/2010 11:57:35 AM Info Task started: xxxx (65)
5/26/2010 11:57:35 AM Err Task was not started because job was already running
5/26/2010 11:57:35 AM Info Task completed: xxxx (65)
5/26/2010 11:57:35 AM Info Job completed: FTP test
5/26/2010 11:58:00 AM Debug Saving Jobs


I am trying to implement a loop wihtin a job. The task I am trying to execute is not running, btu the job itself is running. This screen shot may help.

Any thoughts?


cstump attached the following image(s):
Support
2010-05-26T18:02:14Z
You need to uncheck "Don't start if Job is already running" in Job main settings.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cstump
2010-05-26T18:03:32Z
Doh!!!


Thanks much. Solved it.

Chuck
Scroll to Top