Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
H
Hgs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐州
Hgs
Commits
dc354364
Commit
dc354364
authored
Jul 04, 2022
by
徐州
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开启测试环境排班定时任务
parent
9142e6ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
applicationContext-quartz.xml
.../resources/test/application/applicationContext-quartz.xml
+23
-23
No files found.
house365-hgs-ws/src/main/resources/test/application/applicationContext-quartz.xml
View file @
dc354364
...
...
@@ -406,29 +406,29 @@
<!--<!–同步crm报名轨迹数据定时结束–>-->
<
!--<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean">--
>
<
!--<property name="triggers">--
>
<
!--<list>--
>
<
!--<ref bean="dutyStaff"/>--
>
<
!--</list>--
>
<
!--</property>--
>
<
!--</bean>--
>
<
!--<bean id="dutyStaff" class="org.springframework.scheduling.quartz.CronTriggerBean">--
>
<
!--<property name="jobDetail" ref="checkDutyStaff"/>--
>
<
!--<property name="cronExpression" value="0 1 0 * * ? "/>--
>
<
!--</bean>--
>
<
!--<bean id="checkDutyStaff" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">--
>
<!--
<!–调用的类–>
-->
<
!--<property name="targetObject">--
>
<
!--<ref bean="staffDuty"/>--
>
<
!--</property>--
>
<!--
<!–调用类中的方法–>
-->
<
!--<property name="targetMethod">--
>
<
!--<value>updateDutyStaff</value>--
>
<
!--</property>--
>
<
!--</bean>--
>
<
bean
class=
"org.springframework.scheduling.quartz.SchedulerFactoryBean"
>
<
property
name=
"triggers"
>
<
list
>
<
ref
bean=
"dutyStaff"
/
>
<
/list
>
<
/property
>
<
/bean
>
<
bean
id=
"dutyStaff"
class=
"org.springframework.scheduling.quartz.CronTriggerBean"
>
<
property
name=
"jobDetail"
ref=
"checkDutyStaff"
/
>
<
property
name=
"cronExpression"
value=
"0 0 11 * * ? "
/
>
<
/bean
>
<
bean
id=
"checkDutyStaff"
class=
"org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"
>
<!--
调用的类
-->
<
property
name=
"targetObject"
>
<
ref
bean=
"staffDuty"
/
>
<
/property
>
<!--
调用类中的方法
-->
<
property
name=
"targetMethod"
>
<
value>
updateDutyStaff
</value
>
<
/property
>
<
/bean
>
<!--<!– N天无回访入公海begin –>-->
<!--<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean">-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment