- How can I see crontab tasks which are in progress?
- How can I stop crontab tasks which are in progress, manually?
Is [this] question about see the current running cron processes?
To kill a process manually one way is to use pkill
I had thought about pkill/killall, but some of my commands in crontab file are respectively! it means that after finishing a command, the next one will be started! for example:
sudo crontab -e 00 10 * * * /usr/bin/wget LINK ; shutdown -h now
So, If I kill
wget, the computer will be powered off!!! -> I want to kill a cron task fully, not a part of it!
pkill problem: What about scripts? (I've imported some bash scripts to
crontab -e) -->
sudo pkill ???