Thanks for your post. It was extremely helpful and got my cron jobs sorted out. I had spent a lot of the last few days reading through sites and posts, most of which referred to mautic version 2 and their suggestions did not fit to the current version or did not work. Your suggestion to change the permissions as per the earlier mautic guide and providing the updated commands along with www-data user worked fine.
were referring to the wrong folders (app/cache and app/logs) instead of the new ones defined from version 3.0.0 and above (var/cache and var/logs).
The instructions look correct now, so you can just follow them.
I’m assuming you have ssh access and sudo permission to root. You also need to know the “path/to/mautic” folder where Mautic is installed (that’s “/var/www/html/mautic/” in my server). It’s easier if you save that path in a shell variable, like “mauticPATH”. The complete set of commands is:
Wait, the “cache” folder is in “var”, not in “bin”!
I have the “mautic folder” in /opt instead of /var/www/html, but that makes no difference (as long as you put the correct folder in your crontab jobs):