I just installed ISPconfig onto Centos 4.3. I followed the perfect setup and then ran the script with no errors. I can login to https://mydomain.com:81 and manage the CP, but there are no entries in my crontab file; crontab -e shows an empty file. I know I can add the entries manually but was wondering if this points to other issue that may be present and why it may have happened? Thanks in advance Matt
Did you do crontab -e with normal user or admin user? Normal user should be empty.. Admin's crontab should contain a few lines of ISPC stuff..
Thankyou for the replies. Yes crontab -e was run as root. Output of ls -l /var/spool/cron [root@hosting ~]# ls -l /var/spool/cron/ total 0 -rw------- 1 root root 0 Jul 27 14:34 root Output of cat /etc/crontab [root@hosting ~]# cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly Thanks Matt
I have the same issue - ISPConfig 2.2.5 on Fedora Core 5. Any suggestions as to why this is not set up? Should I just add the following to /etc/crontab or is there a better way to set it up? 30 0 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null 59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null 59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null 59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null 00 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null 0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null and are the following required? 15 3,15 * * * /root/ispconfig/php/php/root/ispconfig/scripts/shell/quota_msg.php &> /dev/null 40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null 05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
Log in as root and run Code: which crontab What's the output? Also make sure you disabled SELinux when you installed your system. Anyway, you can run crontab -e and put in these cron jobs: Code: 30 0 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null 59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null 59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null 59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null 00 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null 0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null 15 3,15 * * * /root/ispconfig/php/php/root/ispconfig/scripts/shell/quota_msg.php &> /dev/null 40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null 05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
I re-installed base OS and ISPconfig again (wanted to change partitioning structure), still nothing in crontab. SELinux is disabled. which crontab yields /usr/bin/crontab I did notice this line at end of installation: Connected successfully to MySQL server no crontab for root ?? I can just add the cron jobs as you suggest, but do you think this points to other issues? Regards Matt