1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

[Bug] Scheduled tasks fail due to repeated execution

Open sohlinkeong opened this issue 3 months ago • 2 comments

Contact Information

No response

1Panel Version

V2.0.12

Problem Description

Image cronjob running overlap will display Failed status, and logging is blank

Steps to Reproduce

  1. Create a cron job that runs every 30 seconds and a bash script that sleeps for 40 seconds command
  2. wait for the cron job run to overlap
Image Image

The expected correct result

No response

Related log output


Additional Information

No response

sohlinkeong avatar Nov 04 '25 08:11 sohlinkeong

Thank you for the feedback! Currently, when a task is triggered repeatedly, it will be skipped by default and marked as failed. You can check the task logs for more details. We will consider adding an intermediate “Not Executed” status in a future release to better reflect the task state.

wanghe-fit2cloud avatar Nov 04 '25 10:11 wanghe-fit2cloud

@wanghe-fit2cloud , noted with thanks

sohlinkeong avatar Nov 05 '25 09:11 sohlinkeong

v2.0.13 版本已发布。

wanghe-fit2cloud avatar Nov 20 '25 03:11 wanghe-fit2cloud