I wrote a crontab that used to edit a file called some_file.txt
every minute. So, every minute it used to keep getting renewed in my home directory. I would verify this by doing ls -alts
every minute, and the time stamp would always be the current minute.
I want to stop the cronjob, so I did the following:
1) deleted the cronjob file
The process kept running, and the file kept updating everyminute.
2) did ps -A | egrep ".*cron.*"
to find the cron job process. Killed the process with sudo kill <PID>
. However, it still runs!
3) I also tried searching for the cron job by listing all existing cron jobs for all users, as shown here in this SO question. Still no luck!
how do I get rid of the procecss? Thanks.