You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem is that I need to run the Drupal cron for some websites on the development servers (run periodic imports or reindex the search_api for example).
I have tried to execute the cron in several ways, but I always end up getting the same fault.
After researching a few hours, I have seen that people who use Alpine say they use the root user (which I don't think is the best idea)
I have seen that you delete the root crontab, and only leave the user www-data. I think the problem comes from here, since drush should always be run as user 1000 (wodby), right?
My problem is that I need to run the Drupal cron for some websites on the development servers (run periodic imports or reindex the search_api for example).
I have tried to execute the cron in several ways, but I always end up getting the same fault.
After researching a few hours, I have seen that people who use Alpine say they use the root user (which I don't think is the best idea)
I have seen that you delete the root crontab, and only leave the user www-data. I think the problem comes from here, since drush should always be run as user 1000 (wodby), right?
php/7/Dockerfile
Line 301 in 2408549
A possible solution would be to have both volumes:
My docker-compose:
My crontab:
I just want to have the cron running, and I'm starting with docker, maybe I'm wrong with the reason why it doesn't work. Any other idea?
The text was updated successfully, but these errors were encountered: