调度中心配置xxl-job-admin.properties
### xxl-job db (use & replace & in xml) xxl.job.db.driverClass=com.mysql.jdbc.Driver xxl.job.db.url=jdbc:mysql://Pure-PC:3306/xxl-job?useUnicode=true&characterEncoding=UTF-8 xxl.job.db.user=root xxl.job.db.password=bobo ### xxl-job email xxl.job.mail.host=smtp.163.com xxl.job.mail.port=25 [email protected] xxl.job.mail.password=594131420 [email protected] xxl.job.mail.sendNick=sendNickk # xxl-job login xxl.job.login.username=admin xxl.job.login.password=123456
执行器配置xxl-job-executor.properties
### xxl-job admin address list, such as "http://address" or "http://address01,http://address02" xxl.job.admin.addresses=http://127.0.0.1:8080/xxl-job-admin ### xxl-job executor address xxl.job.executor.appname=xxl-job-executor-example xxl.job.executor.ip= xxl.job.executor.port=18888 ### xxl-job log path xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler/
时间: 2024-11-09 10:13:19