Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have problem on cron jobs that are still executing even after removing them. I already view all the possible cron jobs from this article. All cron config files are empty or my cron task are not present. I also came up with this command for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done. And it returns no crontab set for all users.

Are there other ways to check currrently executing cron jobs?

share|improve this question
    
just in case someone needs, I just check on the current running processes on the server. In my case ps ax. then i killed the cron task. hope this would help.. –  Pelang Feb 6 '13 at 15:17
add comment

2 Answers

I assume you have restarted cron daemon before you find your task is still executing.

Have you also install Anacron?

anacron is a computer program that performs periodic command scheduling which is traditionally done by cron, but without assuming that the system is running continuously.

Its configuration file is /etc/anacrontab.

share|improve this answer
add comment

When you edit cron jobs, you need to restart cron deamon.

service cron restart

I hope you doing it long time ago.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.