You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/10/20 15:27:26 UTC
[GitHub] [shardingsphere-elasticjob] terrymanu commented on issue #1597: Adapt spring boot starter with job error handler
terrymanu commented on issue #1597:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1597#issuecomment-712935254
We can talk about prop format first, how about
```
simpleJob.elasticJobClass=org.apache.shardingsphere.elasticjob.lite.example.job.SpringBootSimpleJob
simpleJob.cron=0/5 * * * * ?
simpleJob.shardingTotalCount=3
simpleJob.shardingItemParameters=`0=Beijing,1=Shanghai,2=Guangzhou`
simpleJob.extraConfigurations.errorHandler.dingtalk.webhook=my-webhook
simpleJob.extraConfigurations.errorHandler.dingtalk.keyword=my-keyword
simpleJob.extraConfigurations.errorHandler.dingtalk.secret=my-secret
simpleJob.extraConfigurations.errorHandler.email.host=smtp.myhost
simpleJob.extraConfigurations.errorHandler.email.port=465
simpleJob.extraConfigurations.errorHandler.email.username=my-username
simpleJob.extraConfigurations.errorHandler.email.password=my-password
simpleJob.extraConfigurations.errorHandler.email.from=my@email.com
simpleJob.extraConfigurations.errorHandler.email.to=target@email.com
simpleJob.extraConfigurations.errorHandler.email.debug=true
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org