Your software
My Mautic version is: 3.1.1
My PHP version is: 7.4.10
Your problem
I have installed Mautic on my Digital Ocean VPS within Linux Ubuntu. But I cannot get my cron jobs to run any campaign tests. Mautic will NOT send any campaigns, only test emails.
I did not install in the usual directory which seems to be: /var/www/html/
Instead, I have installed inside of the main directory of my website (not on a subdomain) as shown in the image below: /var/www/aaronsnewsletters.com/public_html/
I would appreciate it if someone could further guide me in the right direction with ensuring that I have set up the correct cron jobs and file path directories. Thanks.
Okay, so I changed to the recommended path, but it still wonât send campaigns. Any other ideas of what could be missing? Please check the image below:
I try to edit the crontab file to create con jobs by using ssh âsudo crontab -eâ and âcrontab -eâ, but I keep getting the following error message (or as shown in the image below):
Do I need to somehow reinstall the crontab setup or how do I get back to being able to edit with nano? At this point Iâm not able to edit the main crontab file & nor do I know where it is located.
Thanks for any support.
P.S.
BTW, I tried to reinstall crontab and cron jobs, thatâs when I started experiencing this error message.
Perhaps use the cron function in Cpanel or whatever is available for your VPS in the future.
There is no point in adding crons (by any method) until you have tested and verified the formatting by executing manually via SSH and observing the output as noted by @joeyk previously.
Here is an excellent discussion for reference
It was strangely conspicuous as the first result of a google search of âubuntu crontab file locationâ