Loving Mautic guys!
I am running the following cronjobs for my installation but they don’t always execute (unless reboot server/stop and start crons/restart or some like):
It’s using ubuntu 16.07 + php7
0,15,30,45 * * * * /usr/bin/php /var/www/mymaut/app/console mautic:segments:update --env=prod > /dev/null 2>&1
5,20,35,50 * * * * /usr/bin/php /var/www/mymaut/app/console mautic:campaigns:rebuild --env=prod > /dev/null 2>&1
10,25,40,55 * * * * /usr/bin/php /var/www/mymaut/app/console mautic:campaigns:trigger --env=prod > /dev/null 2>&1
-
-
-
-
- /usr/bin/php /var/www/mymaut/app/console mautic:emails:send --env=prod > /dev/null 2>&1
- /usr/bin/php /var/www/mymaut/app/console mautic:emails:send --env=prod > /dev/null 2>&1
-
-
-
-
-
-
-
- /usr/bin/php /var/www/mymaut/app/console mautic:email:fetch --env=prod > /dev/null 2>&1
- /usr/bin/php /var/www/mymaut/app/console mautic:email:fetch --env=prod > /dev/null 2>&1
-
-
-
-
-
-
-
- /usr/bin/php /var/www/mymaut/app/console mautic:social:monitoring --env=prod > /dev/null 2>&1
- /usr/bin/php /var/www/mymaut/app/console mautic:social:monitoring --env=prod > /dev/null 2>&1
-
-
-
-
-
-
-
- /usr/bin/php /var/www/mymaut/app/console mautic:iplookup:download --env=prod > /dev/null 2>&1
sometimes it works fine, and sometimes when I check cron status it says:
s19684832 CRON[6356]: pam_unix(cron:session): session opened for user root by (uid=0)
s9684832 CRON[6357]: pam_unix(cron:session): session opened for user root by (uid=0)
s19684832 CRON[6358]: pam_unix(cron:session): session opened for user root by (uid=0)
s19684832 CRON[6359]: pam_unix(cron:session): session opened for user root by (uid=0)
s19684832 PAM-CGFS[6357]: Failed to create a cgroup for user root
s19684832 PAM-CGFS[6358]: Failed to create a cgroup for user root
s19684832 CRON[6363]: (root) CMD (/usr/bin/php /var/www/mymaut/app/console mautic:email:fetch)
s19684832 CRON[6361]: (root) CMD (/usr/bin/php /var/www/mymaut/app/console mautic:social:monitoring)
s19684832 CRON[6357]: pam_unix(cron:session): session closed for user root
s19684832 CRON[6358]: pam_unix(cron:session): session closed for user root
these errors rotate position, but sometimes they just work fine and no error is displayed
Could anybody please advice what to do- Logs are clear. Mautic log was reading some unrelated read/write error which I corrected by giving permission to sessions folder.
- /usr/bin/php /var/www/mymaut/app/console mautic:iplookup:download --env=prod > /dev/null 2>&1
-
-
-