scheduled tasks - Coldfusion 10 Scheduler -
i want achieve following using coldfusion 10 scheduler.
- i have scheduled task task1. task1 should executed continuously without time delay or overlap. i.e.
if task1 takes 10 minutes should again trigger in 11th minute. if next run takes 20 minutes, should trigger @ 21st minute.
please advice.
this possible, not directly. scheduled task can run task in "chain" task being chained has task of type "chain". can however, have task run through code.
here how set up.
- setup task run 1 time.
- setup task b chained task.
- configure task call task b when done via on complete event.
- in code task b have run task a.
this should create infinite loop. warned, result in unwanted behavior. have self manage errors , misfires. also, if chain cycle gets interrupted have restart it.
you setup watcher task makes sure chain running. if appears have failed call task b kick start chain.
Comments
Post a Comment