Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
CRON Expressions对应的时区是UTC+0,换算为中国UTC+8时区后将自动唤醒时间改为`0 */25 0-15,23 * * ? `,补发邮件更改为`0 10 23 * * ?  `更合适,原文的7-23对应的不是中国时间的早7点和晚11点
  • Loading branch information
RUIFEI authored May 11, 2020
1 parent 1d8603e commit 321dfb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ AKISMET_KEY | xxxxxxxxxxxx | [可选]Akismet Key 用于垃圾评论检测,设

进入云引擎-定时任务中,创建定时器,创建两个定时任务。

选择self-wake云函数,Cron表达式为`0 0/30 7-23 * * ?`表示每天早6点到晚23点每隔30分钟访问云引擎`ADMIN_URL`环境变量务必设置正确:
选择self-wake云函数,Cron表达式为`0 */25 0-15,23 * * ?`表示每天早7点到晚23点每隔25分钟访问云引擎`ADMIN_URL`环境变量务必设置正确:


<img src="https://cloud.panjunwen.com/2018/09/ping-mu-kuai-zhao-2018-09-18-xia-wu-2-57-43.png" alt="唤醒云引擎">

选择resend-mails云函数,Cron表达式为`0 0 8 * * ?`表示每天早8点检查过去24小时内漏发的通知邮件并补发
选择resend-mails云函数,Cron表达式为`0 10 23 * * ?`表示每天早上7点10检查过去24小时内漏发的通知邮件并补发

<img src="https://cloud.panjunwen.com/2018/09/ping-mu-kuai-zhao-2018-09-18-xia-wu-2-57-53.png" alt="通知检查" >

Expand Down

0 comments on commit 321dfb9

Please sign in to comment.