mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 10:01:24 +00:00
fix(runtime): guard cleanup and preserve skipped cron jobs
This commit is contained in:
@@ -70,9 +70,7 @@ function applyJobResult(
|
||||
}
|
||||
|
||||
const shouldDelete =
|
||||
job.schedule.kind === "at" &&
|
||||
job.deleteAfterRun === true &&
|
||||
(result.status === "ok" || result.status === "skipped");
|
||||
job.schedule.kind === "at" && job.deleteAfterRun === true && result.status === "ok";
|
||||
|
||||
if (!shouldDelete) {
|
||||
if (job.schedule.kind === "at") {
|
||||
|
||||
Reference in New Issue
Block a user