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 doesn't pick up owncloud job #14

Closed
GrimDemon opened this issue Jan 12, 2018 · 4 comments
Closed

Cron doesn't pick up owncloud job #14

GrimDemon opened this issue Jan 12, 2018 · 4 comments

Comments

@GrimDemon
Copy link

GrimDemon commented Jan 12, 2018

I got fresh install of latest owncloud/server image with MariaDB and Redis running. Everything works fine except background jobs. Cron daemon is running in the container but ownCloud's cronjob isn't executing. What's wrong?

@GrimDemon
Copy link
Author

Everything works fine when I deleted unnecessary spaces and set 15 standard minutes interval in /etc/cron.d/owncloud:
*/15 * * * * www-data /usr/bin/php -f /var/www/owncloud/cron.php

@tboerger
Copy link
Contributor

It's not related to the spaces, we already discussed this internally and it looks like we need to touch the file at start time to get picked up by the cron daemon.

@GrimDemon
Copy link
Author

Oh, OK. Maybe you could create that file as a last step of entrypoint scripts and it should be enough. I'm not a specialist of Docker, it's just a hint.

@tboerger
Copy link
Contributor

Solved via #24

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

2 participants