mautic / docker-mautic

Docker Image for Mautic
https://www.mautic.org
374 stars 278 forks source link

CRON jobs added with MAUTIC_CRON_<INTEGRATION>=true create broken scheduled commands #230

Open kale1d0code opened 2 years ago

kale1d0code commented 2 years ago

I noticed that I had cron jobs in my container attempting to run /var/www/html/app/console this file doesn't exist at this location but can be found at /var/www/html/bin/console

I checked through the entrypoint script and it seems that all the additional integration cron tasks all point to the same location for the console

I am using mautic 4.4.0

zubairov commented 1 year ago

Wow, just run into the same issue, can't believe it's open for more than a year

RCheesley commented 1 year ago

Hi folks,

app/console is the old location for the cron jobs.

When you update to Mautic 3 and later you need to use bin/console (See the docs here).

Maybe the locations were not updated when you upgraded your Mautic instance?