semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

CRON not working

Open edersong opened this issue 2 years ago • 5 comments

I have two tasks scheduled to run all days in a specific hour: 0 7 * * * 0 1 * * * Those cron schedules are not working, but I have another one to ruan each 20 minutes (*/20 * * * *) that is working fine. Anyone here is facing the same issue? I'm running the version v2.9.37

edersong avatar Nov 15 '23 11:11 edersong

What about */1 * * * * Is this a system crontab or user crontab? If system, is the user field filled? What does the cron log say?

macau23 avatar Nov 16 '23 10:11 macau23

I can confirm I have the same bug.

  • I have set up the job with */2 * * * * (as a test, intend to do longer schedules)
  • it executed once (2 min after creating the task)
  • it was not executed after
  • tried with 5 * * * * and some other chron schedules too, with no joy

image

image

~ $ semaphore version
v2.9.37
~ $

fabricesemti80 avatar Jan 29 '24 10:01 fabricesemti80

Further to this, I have upgraded to semaphoreui/semaphore:v2.9.45

~ $ semaphore version
v2.9.45

and the issue remains.

fabricesemti80 avatar Jan 29 '24 11:01 fabricesemti80