May I know is it possible to create a program which can read a config file and trigger some script(eg. shell script) with quartz? I would like to add new task from time to time, is it possible to do this by changing the config file only without changing the code itself? Would be grateful if someone can teach me how to do it if this is possible.
Share
There are few ways to add jobs and triggers at runtime:
use API (you might wrap it in some web service or GUI)
use JMX (similar as above but gives you an API over JMX)
use
XMLSchedulingDataProcessorPluginthat reads jobs on startup from arbitrary XML file (so requires restart. See my article for more details andjob_scheduling_data_1_8.xsdto explore XML format