-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Allow custom cron jobs #1775
Comments
I was looking to execute a periodic job for this exact purpose too. I was hoping for something in the README to teach us how to use the The next closest thing would be to add in the host a cron job running something like |
I had no idea there's supervisord in there. It can be turned into a poor man's cron with a trick but it's very inflexible when used this way. It can be ran every minute or every hour. But I think using cron for cron jobs would be better. |
I was facing the same issue. For now, I'm using this workaround to run The
|
I'm doing the same but it's a hack. |
@jjasoncool yeah, building your own Dockerfile or running cronjobs on the host, not really solutions to the problem. |
You can ref this, build this is running normally. |
Duplicate of #820 |
I'm looking for a way to make
occ preview:generate-all
run periodically in a Docker setup.Maybe adding a line like this to
/var/spool/cron/crontabs/www-data
would be a good way to enable using custom cron jobs?The text was updated successfully, but these errors were encountered: