You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.4 KiB
XML
50 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<job-scheduling-data xmlns="http://quartznet.sourceforge.net/JobSchedulingData">
|
|
<processing-directives>
|
|
<overwrite-existing-data>true</overwrite-existing-data>
|
|
</processing-directives>
|
|
<schedule>
|
|
|
|
<!-- 压缩日志 -->
|
|
<job>
|
|
<name>LogZipJob</name>
|
|
<group>System</group>
|
|
<description>压缩日志</description>
|
|
<job-type>MailSend.Common.LogZipJob,MailSend.Common</job-type>
|
|
<durable>true</durable>
|
|
<recover>false</recover>
|
|
</job>
|
|
|
|
<trigger>
|
|
<cron>
|
|
<name>LogZipJobScheduler</name>
|
|
<group>System</group>
|
|
<job-name>LogZipJob</job-name>
|
|
<job-group>System</job-group>
|
|
<cron-expression>0 30 0 * * ?</cron-expression>
|
|
</cron>
|
|
</trigger>
|
|
|
|
<!-- 清理临时文件 -->
|
|
<job>
|
|
<name>ClearTempJob</name>
|
|
<group>System</group>
|
|
<description>清理临时文件</description>
|
|
<job-type>MailSend.Common.ClearTempJob,MailSend.Common</job-type>
|
|
<durable>true</durable>
|
|
<recover>false</recover>
|
|
</job>
|
|
|
|
<trigger>
|
|
<simple>
|
|
<name>ClearTempJobScheduler</name>
|
|
<group>System</group>
|
|
<job-name>ClearTempJob</job-name>
|
|
<job-group>System</job-group>
|
|
<repeat-count>-1</repeat-count>
|
|
<repeat-interval>1800000</repeat-interval>
|
|
</simple>
|
|
</trigger>
|
|
|
|
</schedule>
|
|
</job-scheduling-data> |