parent
9e4f2c6b1e
commit
a5757be432
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
|
||||
|
||||
<!-- quartz-调度器 -->
|
||||
<bean id="quartzScheduler" lazy-init="false" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
|
||||
<property name="dataSource" ref="dataSource" />
|
||||
<property name="autoStartup" value="true" /> <!--自动启动 -->
|
||||
<property name="startupDelay" value="20" /> <!--延时启动 -->
|
||||
<property name="applicationContextSchedulerContextKey" value="applicationContextKey" />
|
||||
<property name="configLocation" value="classpath:quartz.properties"/>
|
||||
</bean>
|
||||
|
||||
<!-- 协同-调度器 -->
|
||||
<bean id="dynamicSchedulerUtil" class="com.xxl.job.admin.core.schedule.XxlJobDynamicScheduler" init-method="init" destroy-method="destroy" >
|
||||
<!-- (轻易不要变更“调度器名称”, 任务创建时会绑定该“调度器名称”) -->
|
||||
<property name="scheduler" ref="quartzScheduler"/>
|
||||
<!-- 调度中心回调IP[选填],为空则自动获取 -->
|
||||
<!--<property name="callBackIp" value=""/>-->
|
||||
<!-- 调度中心回调端口号 -->
|
||||
<property name="callBackPort" value="8888"/>
|
||||
</bean>
|
||||
|
||||
</beans>
|
@ -1,11 +0,0 @@
|
||||
# for email
|
||||
mail.host=smtp.163.com
|
||||
mail.port=25
|
||||
mail.username=ovono802302@163.com
|
||||
mail.password=asdfzxcv
|
||||
mail.sendFrom=ovono802302@163.com
|
||||
mail.sendNick=《任务调度平台XXL-JOB》
|
||||
|
||||
# for login
|
||||
login.username=admin
|
||||
login.password=123456
|
@ -1,4 +0,0 @@
|
||||
c3p0.driverClass=com.mysql.jdbc.Driver
|
||||
c3p0.url=jdbc:mysql://localhost:3306/xxl-job?useUnicode=true&characterEncoding=UTF-8
|
||||
c3p0.user=root
|
||||
c3p0.password=root_pwd
|
@ -0,0 +1,21 @@
|
||||
### xxl-job db
|
||||
xxl.job.db.driverClass=com.mysql.jdbc.Driver
|
||||
xxl.job.db.url=jdbc:mysql://localhost:3306/xxl-job?useUnicode=true&characterEncoding=UTF-8
|
||||
xxl.job.db.user=root
|
||||
xxl.job.db.password=root_pwd
|
||||
|
||||
### xxl-job callback address
|
||||
xxl.job.callBackIp=
|
||||
xxl.job.callBackPort=8888
|
||||
|
||||
### xxl-job email
|
||||
xxl.job.mail.host=smtp.163.com
|
||||
xxl.job.mail.port=25
|
||||
xxl.job.mail.username=ovono802302@163.com
|
||||
xxl.job.mail.password=asdfzxcv
|
||||
xxl.job.mail.sendFrom=ovono802302@163.com
|
||||
xxl.job.mail.sendNick=《任务调度平台XXL-JOB》
|
||||
|
||||
# xxl-job login
|
||||
xxl.job.login.username=admin
|
||||
xxl.job.login.password=123456
|
Loading…
Reference in new issue