Heroku Simple Scheduler跳过运行(循环和sigterm)

时间:2019-01-10 02:33:59

标签: node.js heroku scheduler

我正在使用Heroku调度程序,该调度程序设置为每小时(过去40分钟)。现在,当我查看日志时,看到它在7:40运行,下一个在11:40

在这之间,我看到“循环”和“使用SIGTERM停止所有进程” 为什么会这样呢?这些是日志。

2019-01-09T19:40:49.816542+00:00 app[scheduler.8579]: [handleUsers] No users need an email at this hour 2019-01-09T19:40:49.816Z
2019-01-09T20:48:14.534522+00:00 heroku[scheduler.8579]: Cycling
2019-01-09T20:48:14.539668+00:00 heroku[scheduler.8579]: State changed from up to complete
2019-01-09T21:40:41.413088+00:00 app[api]: Starting process with command `node clock.js` by user scheduler@addons.heroku.com
2019-01-09T21:40:45.926995+00:00 heroku[scheduler.2234]: State changed from starting to up
2019-01-09T22:45:06.399662+00:00 heroku[scheduler.2234]: Stopping all processes with SIGTERM
2019-01-09T22:45:06.543761+00:00 heroku[scheduler.2234]: Process exited with status 143
2019-01-09T23:40:24.623954+00:00 heroku[scheduler.3352]: Starting process with command `node clock.js`
2019-01-09T23:40:29.527156+00:00 app[scheduler.3352]: [handleUsers] No users need an email at this hour 2019-01-09T23:40:29.526Z

0 个答案:

没有答案