当前位置:网站首页>XXL job configuration alarm email notification
XXL job configuration alarm email notification
2022-06-26 08:17:00 【Focus on writing bugs】
List of articles
Preface
After the project goes online , Scheduling tasks perform Failure , When there is no alarm information , Only the data is wrong , When positioning and analyzing problems , Will know the execution result information , Every time something goes wrong , Failure to know in time is of great importance to operation and maintenance , Very unfriendly .
however xxl-job Have this ability in , Refer to the following details for specific configuration items .
xxl-job-admin Service configuration
stay application.properties Targeted at Email alert The configuration item has the following information :
### xxl-job, email
spring.mail.host=smtp.qq.com
spring.mail.port=25
[email protected]
[email protected]
spring.mail.password=xxxxx
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.starttls.required=true
spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
The configuration information here , Is to configure a The sender of the mail Information .
That is to say : When an alarm message appears , The sender of the mail .
Can be configured as :
### xxl-job, email
spring.mail.host=smtp.qq.com
spring.mail.port=25
[email protected]
[email protected]
spring.mail.password=aysktictvrtbbigj
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.starttls.required=true
spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
Here is my personal QQ mailbox . But here's a point to note :
spring.mail.password Not setting a password , It's settings Authorization code
About email authorization code
Get into QQ mailbox Set up , find Account .
stay Account item Down to POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV service .
choice Generate authorization code . You need to send a confirmation message , When the transmission is successful , Will get the current Authorization code information of the mailbox .
Copy and paste the authorization code information into spring.mail.password Then you can !

Specific use

边栏推荐
- Common uniapp configurations
- 1002: easy to remember phone number
- Quickly upload data sets and other files to Google colab ------ solve the problem of slow uploading colab files
- Project management learning
- Color code
- Win10 mysql-8.0.23-winx64 solution for forgetting MySQL password (detailed steps)
- 2: String insert
- [postgraduate entrance examination: planning group] clarify the relationship among memory, main memory, CPU, etc
- Chapter 4 (functions and preprocessing)
- How to Use Instruments in Xcode
猜你喜欢

ReW_ p

The solution of installing opencv with setting in pycharm

Detailed explanation and code implementation of soft voting and hard voting mechanism in integrated learning

Quickly upload data sets and other files to Google colab ------ solve the problem of slow uploading colab files

ASP. Net and Net framework and C #

Discrete device ~ resistance capacitance

Color code

buuresevewp

Read excel table and render with FileReader object

xxl-job配置告警邮件通知
随机推荐
MySQL practice: 2 Table definition and SQL classification
MySQL query time period
Leetcode topic [array] -11- containers with the most rainwater
Chapter 3 (data types and expressions)
Wifi-802.11 2.4G band 5g band channel frequency allocation table
I want to open a stock account at a discount. How do I do it? Is it safe to open a mobile account?
1GHz active probe DIY
Technology sharing | mysql:caching_ sha2_ Password quick Q & A
Baoyan postgraduate entrance examination interview - operating system
Pychart connects to Damon database
我想要股票账户优惠开户,如何操作?手机开户安全么?
Bluebridge cup 1 introduction training Fibonacci series
What is the five levels of cultivation of MES management system
Double linked list -- tail interpolation construction (C language)
PCB miscellaneous mail
Necessary protection ring for weak current detection
Idea update
Use intent to shuttle between activities -- use implicit intent
Batch modify file name
Vs2019-mfc setting edit control and static text font size