| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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"> |
| <pre-processing-commands> |
| <delete-jobs-in-group>*</delete-jobs-in-group> |
| <!-- clear all jobs in scheduler --> |
| <delete-triggers-in-group>*</delete-triggers-in-group> |
| <!-- clear all triggers in scheduler --> |
| </pre-processing-commands> |
| <processing-directives> |
| <!-- if there are any jobs/trigger in scheduler of same name (as in this file), overwrite them --> |
| <overwrite-existing-data>true</overwrite-existing-data> |
| <!-- if there are any jobs/trigger in scheduler of same name (as in this file), and over-write is false, ignore them rather then generating an error --> |
| <ignore-duplicates>false</ignore-duplicates> |
| </processing-directives> |
| <schedule> |
| <job> |
| <name>SimpleJob</name> |
| <group>TURBINE</group> |
| <description>A simple job</description> |
| <job-class>org.apache.turbine.services.schedule.JobEntryQuartz</job-class> |
| </job> |
| <trigger> |
| <simple> |
| <!-- define a simple trigger firing every ten seconds --> |
| <name>simpleTrigger</name> |
| <group>TURBINE</group> |
| <job-name>SimpleJob</job-name> |
| <job-group>TURBINE</job-group> |
| <start-time>2015-01-01T00:00:00</start-time> |
| <misfire-instruction>MISFIRE_INSTRUCTION_RESCHEDULE_NOW_WITH_EXISTING_REPEAT_COUNT</misfire-instruction> |
| <repeat-count>-1</repeat-count> |
| <repeat-interval>1000</repeat-interval> |
| </simple> |
| </trigger> |
| </schedule> |
| </job-scheduling-data> |