rhys24

Member
Mar 28, 2005
12
0
151
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
 
Last edited: