password
查看人数
type
status
date
slug
summary
category
icon
tags
作者
状态
django_apscheduler_djangojobexecution 记录表中报错
'Run time of job "%s" was missed by %s

报错定位
run_job

报错的原因是
job.misfire_grace_time
这时间又是创建任务是添加的
源码描述:param int misfire_grace_time: seconds after the designated runtime that the job is still
allowed to be run (or ``None`` to allow the job to run no matter how late it is)
这里没有添加时是传的默认值
检查misfire_grace_time参数的值。这个参数控制任务运行超时后的容忍时间。将它设置为None可以让任务无论运行多晚都执行
有关使用上的问题,欢迎您在底部评论区留言,一起交流~
- 作者:躁静有徒
- 链接:https://blog.zaojingyoutu.top//article/aef32901-1cbc-470f-b42b-4d1b4a179b05
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
相关文章