Mautic Community Forums

How to check Mautic cron jobs inside Docker container

Your software
My Mautic version is: 2.16.2
My PHP version is: 7.1.33
My Database type and version is: Percona MySQL 5.7

Your problem
My problem is: How do I check if the Mautic cron jobs are running?

I’ve installed Mautic via Docker. I entered the container but am not able to verify if the Mautic cron jobs are running.

It looks like the cron jobs are set in /etc/cron.d/mautic

Sample:
8,23,38,52 * * * * www-data php /var/www/html/app/console mautic:segments:update > /var/log/cron.pipe 2>&1

but I don’t see any logs written to /var/log/cron.pipe. Does this confirm that the cron jobs are not running?

I’ve also tried running crontab -l and crontab -u www-data -l , but it just says no crontab.

If the jobs are not running, how do I get them to run? And what commands can I use thereafter to check that the jobs are running properly?

Thank you.
Jen