Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do I control and stop Cron Daemon email alerts ?

Posted on 2011-02-11
3
Medium Priority
?
893 Views
Last Modified: 2012-05-11
I have been getting alot of Cron <root@server> /root/rkhunter.sh
email alerts

How can I stop these alerts? and control them?
0
Comment
Question by:sobeservices2
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
t-max earned 2000 total points
ID: 34872625
You can see the list of cron jobs for the root user doing this (as root):
"crontab -l"
If you want to edit the list, do:
"crontab -e"
To remove a job you can either delete that line, or you can simply add a comment sign "#" at the beginning of the line you want to skip.
0
 

Author Comment

by:sobeservices2
ID: 34872905
From the below could you explain some of them . Not sure what would be safe to remove what I should keep.
10 7 * * * cd /usr/local/assp;perl /usr/local/assp/rebuildspamdb.pl
MAILTO=""
*/59 * * * * /usr/local/cpanel/3rdparty/bin/php-cgi /usr/local/assp/deluxe/ex_localdomains.php cle
_logs=yes daniolo=yes
*/3 * * * * /usr/local/cpanel/3rdparty/bin/php-cgi /usr/local/assp/deluxe/update_email.php
*/3 * * * * /usr/local/cpanel/3rdparty/bin/php-cgi /usr/local/assp/deluxe/status.php long=1 daniol
yes
*/4 * * * * /usr/local/cpanel/3rdparty/bin/php-cgi /usr/local/assp/deluxe/spam_cronjob.php high=7
10 8 * * * /usr/local/cpanel/3rdparty/bin/php-cgi /usr/local/assp/deluxe/clear_spambox.php sday=3
=yes limitspace=10000 remdays=1
*/20 * * * * /usr/local/cpanel/3rdparty/bin/php-cgi /usr/local/assp/deluxe/find_abusers.php sw=7 s
8 er=13 lm=13 dc=8 rl=20 dn=1 on=1
*/27 * * * * /usr/local/cpanel/3rdparty/bin/php-cgi /usr/local/assp/deluxe/find_abusers.php show=2
c=2 dm=file er=6 lm=4 dc=2 on=1
0 9 * * * /usr/local/cpanel/3rdparty/bin/php-cgi /usr/local/assp/deluxe/signatures.php
2 */6 * * * /usr/sbin/exiqgrep -o 16800 -i | /usr/bin/xargs /usr/sbin/exim -Mrm
MAILTO=root
30 */4 * * * /usr/bin/test -x /scripts/update_db_cache && /scripts/update_db_cache
45 */8 * * * /usr/bin/test -x /usr/local/cpanel/bin/optimizefs && /usr/local/cpanel/bin/optimizefs
0 1 * * * /scripts/cpbackup
35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
30 */2 * * * /usr/local/cpanel/bin/mysqluserstore >/dev/null 2>&1
15 */2 * * * /usr/local/cpanel/bin/dbindex >/dev/null 2>&1
11 4 * * * /usr/bin/freshclam --quiet --no-warnings
0 6 * * * /scripts/exim_tidydb > /dev/null 2>&1
0 5 * * * /scripts/upcp
root@server [~]#

Open in new window

0
 
LVL 6

Expert Comment

by:t-max
ID: 34876648
My recommendation is to  not touch anything. Everything that says "cpanel" is obviously related to that. The rest I don't know, but a few look like custom scripts. You should check with the people that put them to get more info.
Removing the rkhunter script isn't advised unless you have a good reason, but since it doesn't appear above, I guess you already removed it.
Remember you usually can take a look at the scripts running to see what they do. If they are binaries, you'll usually get more info with "man" or with "--help".
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
Fine Tune your automatic Updates for Ubuntu / Debian
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question