1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
534 views
by (290 points)

There is source code in the Script Configuration tab of the XML node that instructs the user to uncomment the following lines when changing execution from continuous to a schedule using a cron string.

The channels are run on a schedule at some sites to ease the load on Jboss and the customers during heavy loads.

See the screen snip below:

Should this code be uncommented? If the answer depends on the cron-string when would this be uncommented and when is it okay to leave it commented out?

1 Answer

+1 vote
The code should be uncommented if scheduled, otherwise the while loop could keep going until a false is hit which would defeat the purpose of scheduling.  The break allows QIE to check and see if the scheduled time has elapsed, and if so stop.  Leave the code commented out, as defaulted, if the Execution is set to Continuous.
by amanda-w-3695 (5.1k points)
...