Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRON_SCHEDULE not working #9

Open
mygrexit opened this issue Apr 22, 2022 · 4 comments
Open

CRON_SCHEDULE not working #9

mygrexit opened this issue Apr 22, 2022 · 4 comments

Comments

@mygrexit
Copy link

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.

@rafisher79
Copy link

same issue here.

And just as above - thank you for this tool!

@disco
Copy link

disco commented Jul 3, 2022

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.

@Rubicj
Copy link

Rubicj commented Jun 12, 2023

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

@tentrillion
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants