Skip to content

Instantly share code, notes, and snippets.

@tangblack
Created September 16, 2014 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tangblack/a9093fe21633afb26b19 to your computer and use it in GitHub Desktop.
Save tangblack/a9093fe21633afb26b19 to your computer and use it in GitHub Desktop.
<?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="1.8">
<schedule>
<job>
<name>FooJob</name>
<job-class>com.tangblack.quartz.example.FooJob</job-class>
</job>
<!-- cron-expression: Seconds Minutes Hours DayOfMonth Month DayOfWeek Year -->
<trigger>
<cron>
<name>FileJobTrigger</name>
<job-name>FooJob</job-name>
<cron-expression>0 0/1 * * * ? *</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