We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The crontab of the container based on the official docker image is missing the crontab configuration see issue getgrav/grav#3153
(crontab -l; echo "* * * * * cd /var/www/html;/usr/local/bin/php bin/grav scheduler 1>> /dev/null 2>&1") | crontab -
it would be nice if this command could be added to the default configuration.
The text was updated successfully, but these errors were encountered:
While I was looking at the build of the image I saw in the console:
Removing intermediate container 65182375dd3a ---> e79c52559349 Step 12/15 : RUN (crontab -l; echo "* * * * * cd /var/www/html;/usr/local/bin/php bin/grav scheduler 1>> /dev/null 2>&1") | crontab - ---> Running in e8e8b6409060 **no crontab for www-data** Removing intermediate container e8e8b6409060
Sorry, something went wrong.
The configuration is "missing" for root user but the scheduler must not run as root.
The crontab for www-data user is present but was not working.
Removing the crontab for this user then re-adding solved the issue for me. See #3153
I just tried to build the image, still the same error
No branches or pull requests
The crontab of the container based on the official docker image is missing the crontab configuration see issue getgrav/grav#3153
(crontab -l; echo "* * * * * cd /var/www/html;/usr/local/bin/php bin/grav scheduler 1>> /dev/null 2>&1") | crontab -
it would be nice if this command could be added to the default configuration.
The text was updated successfully, but these errors were encountered: