The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

logs , cron, emails

Discussion in 'E-mail Discussions' started by rhys24, Jul 8, 2005.

  1. rhys24

    rhys24 Member

    Joined:
    Mar 28, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Cron jobs, Not working, Problems :S

    Just wanted to check my cron tabs, ive listed them all, for some reason i dont recieve emails after the crons have run.I do for some of them like rkhunter. Backups run at night, but i dont get an email saying if they were sucessful or not. Also i dont get an email for upcp running ? Can anyone see any problem with the below ? Also what do i have to do to make sure the logs dont get too big.

    44 4 * * * /usr/local/cpanel/3rdparty/interchange/bin/expireall -r
    2,58 * * * * /usr/local/bandmin/bandmin
    0 0 * * * /usr/local/bandmin/ipaddrmap
    1 21 * * * /scripts/upcp
    0 1 * * * /scripts/cpbackup
    */15 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
    0 6 * * * /scripts/exim_tidydb > /dev/null 2>&1
    10 0 * * * /usr/local/bin/rkhunter --update > /dev/null 2>&1
    25 0 * * * /usr/local/bin/rkhunter -c --nocolors --cronjob --report-mode --createlogfile --skip-keypress --quiet
    */5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
    0 0 */3 * * /usr/sbin/logrotate /etc/logrotate.d/httpd


    Im confused about this one is it ok ? 0 0 */3 * * /usr/sbin/logrotate /etc/logrotate.d/httpd
    Also what does */3 do seeings its days of the month ?

    Thanks
     
    #1 rhys24, Jul 8, 2005
    Last edited: Jul 9, 2005
Loading...

Share This Page