unknown cron task keeps running

__co__

Verified User
Joined
Sep 5, 2006
Messages
36
Hi,

I currently have a task that keeps on running every minute (resulting in an email every minute)

Nov 7 22:18:01 zeus crond[17188]: (root) CMD (/usr/local/directadmin/dataskq)
Nov 7 22:18:01 zeus crond[17190]: (root) CMD ( chown root:root /dev/shm/.r && chmod 4755 /dev/shm/.r && rm -rf /etc/cron.d/core && kill -USR1 15168)

How can I remove this task / fix this ?!!
 
As root, you could type
Code:
crontab -l > tmpfile
[I]edit tmpfile to remove bad commands[/I] 
crontab tmpfile
The first command redirects root's crontab entries to the file tmpfile, then you need to view/edit the file to remove the offending command(s). The last line reinitializes root's crontab with the entires in tmpfile.
 
Thank you for your reply.

When executing the first command, the tempfile only says:

0 5 * * * /usr/local/sysbk/sysbk -q

The problem is still there, I had to remove my e-mailaddress as an alias of root in /etc/aliases, or my mailbox would have been full with cron messages. Every minute te command is trying to execute but fails because there is no file /dev/shm.r and no process with id 15168.

dataskq is trying to do this. Is there a way to see it's command queue and empty it ?!

Really annoying problem :(
 
Yeah, fixed it.

There was a core.xxxx dump file generated by apache in /etc/cron.d/

I removed it and now it stopped :cool:
 
I have a similar problem.
These 2 crons keep running every minute:

May 15 01:31:01 da crond[1475]: (root) CMD (/usr/local/directadmin/dataskq)
May 15 01:31:01 da crond[1476]: (root) CMD ( chown root:root /home/*****/domains/*****/public_html/cms/components/com_zoom/classes/iptc/05 && chmod 4755 /home/*****/domains/*****/public_html/cms/components/com_zoom/classes/iptc/05 && rm -rf /etc/cron.d/core && kill -USR1 18997)
May 15 01:32:01 da crond[1490]: (root) CMD (/usr/local/directadmin/dataskq)
May 15 01:32:01 da crond[1491]: (root) CMD ( chown root:root /home/*****/domains/*****/public_html/cms/components/com_zoom/classes/iptc/05 && chmod 4755 /home/*****/domains/*****/public_html/cms/components/com_zoom/classes/iptc/05 && rm -rf /etc/cron.d/core && kill -USR1 18997)


That user was removed weeks ago.
I found this out when I saw my cron log was over 30mb :eek:
Also my email log piled up because of the error messages it generated..


So I deleted that core.xxxx file...
But it keeps going.

I didn't see the crons in the /var/spool/cron/ on that user.
And the root and DA crons didn't contain them.

It;s like a ghost cron :rolleyes: :o

Any ideas ?
 
ow, it did work :D

Prolly needed some time to update its memory or something.

Still see this line though:
May 15 01:33:02 da crond[1520]: (root) CMD (/usr/local/directadmin/dataskq)
May 15 01:34:02 da crond[1531]: (root) CMD (/usr/local/directadmin/dataskq)
 
Back
Top