How to disable the shell cron jobs?

Discussion in 'General' started by raymov, Oct 31, 2005.

  1. raymov

    raymov New Member

    We are currently evaluating ISPConfig, but are not yet ready to go live on a production server. We stopped the services with:
    /etc/rc.d/init.d/ispconfig_server stop
    /etc/rc.d/init.d/ispconfig_tcpserver stop

    However the scripts are still running, which is causing us the following grief:
    1. mail_logs.php deleted our maillog
    2. check_services.php reminds us every half an hour that httpd is not running.

    According to Appendix 3 of the Admin manual, cron job scripts are located in the following directory:

    However the cron job does not appear in:
    /etc/crontab or /etc/cron.daily/

    Where can we terminate these "hidden cron jobs" from executing the shell scripts?

  2. falko

    falko Super Moderator ISPConfig Developer

    You can edit your cron jobs by running
    crontab -e
    as root.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    If you check the checkbox "Safe log" under Management > Server > Settings on the mail tab a copy of your maillog will be saved.
  4. raymov

    raymov New Member

    Thanks for the replies,
    The cron jobs now make sense:

    crontab -l
    30 00 * * * /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
    0 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
    crontab -r
    crontab -l
    no crontab for root
    It be great if the "Safe log" is enabled by default in future versions to be on the "safe side".

Share This Page