Created
July 16, 2012 07:31
-
-
Save rtrcolin/3121364 to your computer and use it in GitHub Desktop.
Example Jobs XML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<job-scheduling-data xmlns="http://www.quartz-scheduler.org/xml/JobSchedulingData" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.quartz-scheduler.org/xml/JobSchedulingData http://www.quartz-scheduler.org/xml/job_scheduling_data_2_0.xsd" | |
version="2.0"> | |
<schedule> | |
<job> | |
<name>MySimpleJob</name> | |
<group>DailyJobs</group> | |
<description>It doesn't do much yet!</job-class> | |
<job-data-map> | |
<entry> | |
<key>someSetting</key> | |
<value>someValue</value> | |
</entry> | |
<entry> | |
<key>retryCount</key> | |
<value>3</value> | |
</entry> | |
<entry> | |
<key>retryDelaySeconds</key> | |
<value>180</value> | |
</entry> | |
</job-data-map> | |
</job> | |
<trigger> | |
<cron> | |
<name>MySimpleTrigger</name> | |
<group>MyTriggerGroup</group> | |
<job-name>MySimpleJob</job-name> | |
<job-group>DailyJob</job-group> | |
<!-- Every morning at 9AM UTC --> | |
<cron-expression>0 0 9 * * ?</cron-expression> | |
</cron> | |
</trigger> | |
</schedule> | |
</job-scheduling-data> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment