0

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?

Pelang
  • 413
  • 5
  • 9
  • 15
  • 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 06 '13 at 15:17

2 Answers2

1

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.

Jintian Deng
  • 111
  • 3
0

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

service cron restart

I hope you doing it long time ago.

kuzaro
  • 11
  • 2