Open ITTV-tools opened 2 months ago
I had the same thing happen on the latest version of Semaphore. It seems there might be an issue with the cron generation. Toggle the "Show Cron format" and make sure it matches what you want the schedule to be.
You can also use https://crontab.guru/#*_*_*_* to generate the cron and paste it into semaphore.
There are two different cron specifications. One is the origingal one that has been in use since inception of cron https://en.wikipedia.org/wiki/Cron and the other one, is what is used in the most popular cron library for go lanuguage https://pkg.go.dev/github.com/robfig/cron?utm_source=godoc#hdr-CRON_Expression_Format. They are incompatible. I can see that robfig/cron
is present in go.mod
So which cron expression format is used here?
Looks like its working correctly if I create the cron without the GUI
Issue
Semaphore starts tasks randomly. Some of them are running forever.
Impact
Service (scheduled tasks, alerts)
Installation method
Docker
Database
MySQL
Browser
Firefox
Semaphore Version
v2.10.22-e44910d-1721658561
Ansible Version
No response
Logs & errors
No response
Manual installation - system information
No response
Configuration
No response
Additional information
No response