我这边复现到一个一次性 at 任务的问题,感觉像是任务在触发后被清理了,但运行记录没有被保留下来。
复现过程很简单: 先创建一个一次性的 at cron 任务,在触发前可以正常通过 job 接口查到它,状态也正常;但等到计划时间过去之后,这个任务本身就消失了。
我这边实际看到的是:
/api/cron/jobs/<jobId> 返回 Job not found
/api/cron/jobs/<jobId>/runs 返回空数组
alma cron history <jobId> 也返回 Job not found
按我的理解,一次性任务执行完以后,从“活动任务列表”里消失是可以接受的;但对应的历史运行记录应该还在,至少能通过 runs 或 history 查到。
现在的表现更像是:任务被删掉了,但运行历史没有在删除前保存下来,或者根本没有写入。
Please authenticate to join the conversation.
In Review
Bug Reports
About 11 hours ago

zk C
Get notified by email when there are changes.
In Review
Bug Reports
About 11 hours ago

zk C
Get notified by email when there are changes.