ghost crond

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
kp2a
Posts: 13
Joined: Wed Jun 01, 2011 11:37 am
Location: Virgin Islands

ghost crond

Post by kp2a »

[root@cacti etc]# tail -1 /var/log/cron
Jul 11 16:10:01 cacti crond[12934]: (cacti) CMD (php /var/www/cacti/poller.php &>/dev/null)

[root@cacti etc]# crontab -u cacti -l
no crontab for cacti

[root@cacti etc]# ps auxw | egrep 'cron|cacti'
root 12928 0.0 0.0 74856 1160 ? Ss 16:09 0:00 crond
root 23718 0.0 0.0 61212 808 pts/0 S+ 16:18 0:00 egrep cron|cacti

[root@cacti etc]# grep php /etc/crontab
###*/5 * * * * root php /var/www/html/cacti/poller.php > /usr/local/log/cacti/poller.log 2>&1

where is the CMD coming from ???

[root@cacti etc]# uname -i -r
2.6.18-238.9.1.el5 x86_64
User avatar
kp2a
Posts: 13
Joined: Wed Jun 01, 2011 11:37 am
Location: Virgin Islands

Re: ghost crond

Post by kp2a »

accidently caught at /5

[root@cacti etc]# ps auxw | grep crond
root 12928 0.0 0.0 74856 1160 ? Ss 16:09 0:00 crond
cacti 29114 0.0 0.0 102060 1568 ? S 16:25 0:00 crond
root 31985 0.0 0.0 61216 772 pts/0 S+ 16:25 0:00 grep crond

so user cacti is being launched every 5 minutes

[root@cacti ~]# atq
[root@cacti ~]#

nothing in at queue
nothing in crontab
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: ghost crond

Post by gandalf »

/etc/cron.d/cacti???
R.
User avatar
kp2a
Posts: 13
Joined: Wed Jun 01, 2011 11:37 am
Location: Virgin Islands

Re: ghost crond

Post by kp2a »

gandalf wrote:/etc/cron.d/cacti???
R.
yup! thanks!
put there by install
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: ghost crond

Post by gandalf »

which, indeed, now is my favorite location
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests