ring-timelapse icon indicating copy to clipboard operation
ring-timelapse copied to clipboard

CRON_SCHEDULE not working

Open mygrexit opened this issue 4 years ago • 4 comments

Hi,

first of all: Thanks for this tool. It is very helpful!

I have the following problem:

When I set CRON_SCHEDULE="*/1 * * " or CRON_SCHEDULE=" * *"as an environment variable, it does not get added to the crontab. It always remains the default value of 15 minutes.

My workaround was to copy the root crontab to my host, edit it and mount it so I can make it persistent.

mygrexit avatar Apr 22 '22 08:04 mygrexit

same issue here.

And just as above - thank you for this tool!

rafisher79 avatar Jun 21 '22 18:06 rafisher79

Anyone figure out how to make the cron schedule parameter work? I'd like to do 5min intervals but the cron_schedule seems to have no impact.

disco avatar Jul 03 '22 10:07 disco

The developer hardcoded the vars in the Dockerfile, if you pass them though there or make your own Dockerfile, it will work.

https://github.com/wictorwilen/ring-timelapse/blob/main/Dockerfile#L30

Rubicj avatar Jun 12 '23 22:06 Rubicj

I just shell into the container after it was created and edit /etc/crontabs/root. This does change the cron schedule; takes a few minutes to have an effect.

tentrillion avatar Jul 05 '23 16:07 tentrillion