Closed gekamikh closed 5 years ago
can you try again, but following exact steps at https://github.com/markshust/docker-magento#manual-setup
the steps you have taken differ from the readme. after magento is completely installed and running, then try enabling cron.
I did confirm the cron was not working. The above commit fixes it. New release will come out shortly.
I ran new Magento project.
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template|bash -s -- magento-2
bin/download 2.3.0
echo "127.0.0.1 magento2.test" | sudo tee -a /etc/hosts
docker-compose.dev.yml
I remove comments to enablecron
bin/start
to start magentobin/setup magento2.test
to setup magentoI have 4 running containers, including
cron
But in db table
cron_schedule
still no registered cron jobs.If I connect to phpfpm container (where based on other issues cron running) by command
docker exec -it my-magento-store_phpfpm_1 /bin/bash
and runcrontab -l
the result will beno crontab for app
.Running
bin/magento cron:run
working as well. But how can I setup or enable cron to run jobs not manualy. Thanks!