Duboux
Verified User
- Joined
- Apr 20, 2007
- Messages
- 244
I once wrote a script to update a MySql table and set it as a cronjob to run every 10minutes, on a user account.
Then I did an admin-backup on the user, to move him to his own server, and I removed the user from the old server.
When the script needed adjusting, I adjusted it, and ever since there has been trouble with the database table not being updated according to the new script.
When I removed allll the user-cronjobs and even the script, I found out that somehow the old script is still running every 10mins...
But there's no Cron-log on it, and there's no httpd-log on it.
The crons and crontab are all empty (that is, the old script isn't in there)
The mysql log shows me it still runs the old scripts queries.
Searching within all the user-files on a bit of the query, resulted in no findings (after I removed the adjusted script)
MyTop doesn't tell me anything.
top doesn't show me the source.
SHOWPROCESSLIST shows me the PID of one of the queries (the script contains like 100 small queries), but when I try to # ps it, I'm too late, lol
I've even cleared the memory with: # sync; echo 3 > /proc/sys/vm/drop_caches
thinking, since linux has to run it quite often it might have placed it in it's memory.
I've restarted MySql, I've restarted crontab...
Nothing worked
Any ideas ?
Thanks
Then I did an admin-backup on the user, to move him to his own server, and I removed the user from the old server.
When the script needed adjusting, I adjusted it, and ever since there has been trouble with the database table not being updated according to the new script.
When I removed allll the user-cronjobs and even the script, I found out that somehow the old script is still running every 10mins...
But there's no Cron-log on it, and there's no httpd-log on it.
The crons and crontab are all empty (that is, the old script isn't in there)
The mysql log shows me it still runs the old scripts queries.
Searching within all the user-files on a bit of the query, resulted in no findings (after I removed the adjusted script)
MyTop doesn't tell me anything.
top doesn't show me the source.
SHOWPROCESSLIST shows me the PID of one of the queries (the script contains like 100 small queries), but when I try to # ps it, I'm too late, lol
I've even cleared the memory with: # sync; echo 3 > /proc/sys/vm/drop_caches
thinking, since linux has to run it quite often it might have placed it in it's memory.
I've restarted MySql, I've restarted crontab...
Nothing worked

Any ideas ?
Thanks