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.
99 lines
2.7 KiB
XML
99 lines
2.7 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>SendMailJob</name>
|
|
<group>System</group>
|
|
<description>发送邮件</description>
|
|
<job-type>DSWeb.Job.Common.SendMailJob,DSWeb.Job.Common</job-type>
|
|
<durable>true</durable>
|
|
<recover>false</recover>
|
|
</job>
|
|
|
|
<trigger>
|
|
<simple>
|
|
<name>SendMailScheduler</name>
|
|
<group>System</group>
|
|
<description>发送邮件触发器</description>
|
|
<job-name>SendMailJob</job-name>
|
|
<job-group>System</job-group>
|
|
<repeat-count>-1</repeat-count>
|
|
<repeat-interval>10000</repeat-interval>
|
|
</simple>
|
|
</trigger>
|
|
|
|
|
|
<!-- 公众号刷新Token -->
|
|
<job>
|
|
<name>RefreshTokenJob</name>
|
|
<group>System</group>
|
|
<description>公众号刷新Token</description>
|
|
<job-type>DSWeb.Job.Common.RefreshTokenJob,DSWeb.Job.Common</job-type>
|
|
<durable>true</durable>
|
|
<recover>false</recover>
|
|
</job>
|
|
|
|
<trigger>
|
|
<simple>
|
|
<name>RefreshTokenScheduler</name>
|
|
<group>System</group>
|
|
<description>公众号刷新Token触发器</description>
|
|
<job-name>RefreshTokenJob</job-name>
|
|
<job-group>System</job-group>
|
|
<repeat-count>-1</repeat-count>
|
|
<repeat-interval>180000</repeat-interval>
|
|
</simple>
|
|
</trigger>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 清理过期邮件 -->
|
|
<job>
|
|
<name>ClearMailJob</name>
|
|
<group>System</group>
|
|
<description>清理过期邮件</description>
|
|
<job-type>DSWeb.Job.Common.ClearMailJob,DSWeb.Job.Common</job-type>
|
|
<durable>true</durable>
|
|
<recover>false</recover>
|
|
</job>
|
|
|
|
<trigger>
|
|
<cron>
|
|
<name>ClearMailJobScheduler</name>
|
|
<group>System</group>
|
|
<job-name>ClearMailJob</job-name>
|
|
<job-group>System</job-group>
|
|
<cron-expression>0 20 0 * * ?</cron-expression>
|
|
</cron>
|
|
</trigger>
|
|
|
|
<!-- 压缩日志 -->
|
|
<job>
|
|
<name>LogZipJob</name>
|
|
<group>System</group>
|
|
<description>压缩日志</description>
|
|
<job-type>DSWeb.Job.Common.LogZipJob,DSWeb.Job.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>
|
|
|
|
|
|
</schedule>
|
|
</job-scheduling-data> |