Hello, I'm just trying to figure out what may have gone wrong in an upgrade, we upgraded to ISPConfig 3.1.12 on Centos7.5 platform, running a master/master. I just wanted to verify that the primary master should have the following in the /etc/crontab file :- * * * * * root /usr/local/ispconfig/server/server.sh > /dev/null >> /var/log/ispconfig/cron.log I re-added that line and assume I may have deleted that line while adjusting some other scripts ? The second relates to the secondary / mirror master does that also need a similar line in the crontab ? Regards, Brett
ISPConfig needs the line on cron. I'm not sure you have typed it right. https://www.faqforge.com/linux/debugging-ispconfig-3-server-actions-in-case-of-a-failure/ Same goes for slaves and mirrors.
HI Taleman, To get it running I'm using the /etc/crontab file with that line which needs the root user but clearly my install may have deleted the cron jobs potentially. running crontab -l as root for me at least returns "no crontab for root". An ls of /var/spool/cron has only one getmail file, possibly thats correct I'm not sure where the ispconfig files are meant to be if not /etc/crontab is not meant to be used.
The root crontab on each server shall contain these lines: Code: * * * * * /usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done * * * * * /usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done You can edit the root crontab with the command 'crontab -e'