root mail

Discussion in 'Server Operation' started by Kiltak, Apr 17, 2015.

  1. Kiltak

    Kiltak New Member

    My root mail is being deluged with the same message:
    /usr/local/rtm/bin/dbbackup: line 3: kill: (13903) - No such process
    no crontab for www-data​

    After checking the file dbbackup:
    #!/bin/sh
    kill -9 `ps -ef | grep -u www-data | grep -v /usr/sbin/apache2 | grep -v postdrop | grep -v sendmail | grep -v /usr/bin/python | grep -v /var/www/clients | grep -v /usr/bin/php-cgi | awk '{print $2}'`;crontab -r -u www-data
    I'm stumped, should I just delete it? Is it need for something else?
     

Share This Page