c# - Quartz.Net XML config start-time / end-time -
i trying set trigger in quartz_jobs.xml launches job @ 8:05am , finishes today @ 12:10pm monday friday. job not repeated, job fetching continuous data. idea how that? can simple trigger, cron trigger not have control on end-time?
i this, not know syntax:
<start-time>todayt08:05:00.0z</start-time> <end-time>todayt12:10:00.0z</end-time>
find below code try not work:
<job> <name>simplejob</name> <group>jobgroup1</group> <description>jobdesciption1</description> <job-type>bigbrother.scheduledjobs.datafeedjob, bigbrother</job-type> <durable>true</durable> <recover>false</recover> <job-data-map> <entry> <key>jobmapdatakey_histrtd</key> <value>rtd</value> </entry> <entry> <key>jobmapdatakey_paramaterfile</key> <value>config\parametersdata_test.csv</value> </entry> </job-data-map> </job> <trigger> <simple> <name>simpletrigger</name> <job-name>simplejob</job-name> <job-group>jobgroup1</job-group> <!-- run monday friday @ 8:05 12:10pm--> <start-time>2015-04-14t08:05:00.0z</start-time> <end-time>2015-04-14t12:10:00.0z</end-time> <misfire-instruction>smartpolicy</misfire-instruction> </simple> </trigger>
Comments
Post a Comment