You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does supercronic support to load all crontabs files in a specific directory? Something like crond service does with /etc/cron.d/.
As a workaround I could add an entrypoint an merge all of them in a single file, but I would love to simply run supercronic /path/to/cron/files/, or similar.
The text was updated successfully, but these errors were encountered:
Supercronic can only read from a single file. You could accomplish in an ENTRYPOINT or CMD with only a small effort: cat /path/to/cron/files/* > /tmp/all.crons && exec supercronic /tmp/all.crons
I have this use case now. I will try the work-around given but I think I may run into permissions issues. Seems like it would be a pretty useful feature regardless; loading crontabs from a directory or loading multiple crontabs in general.
Does supercronic support to load all crontabs files in a specific directory? Something like crond service does with
/etc/cron.d/
.As a workaround I could add an entrypoint an merge all of them in a single file, but I would love to simply run
supercronic /path/to/cron/files/
, or similar.The text was updated successfully, but these errors were encountered: