Results 1 to 4 of 4
Dear all,
i want to know aboout kill command in linux.how can kill the process at a specified time? plz guide me on that..........
- 10-16-2008 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 6
how to kill process at specified time...
Dear all,
i want to know aboout kill command in linux.how can kill the process at a specified time? plz guide me on that.......
- 10-16-2008 #2
Hello,
You can use cron to schedule a command to run at a specified time. use
to add your new cron job. Use wikipedia to learn a bit more about cron first:Code:crontab -e
cron - Wikipedia, the free encyclopedia
To kill a process you can either refer to its process ID, i.e.
Use ps -ex first to see the process ID's for each process (check the PID column)Code:kill 1234
Or you can kill a process by refering to its name, i.e.
Hope this helpsCode:killall gnome-panel
Registered Linux user #389109
My Semi-Linux Blog
- 10-16-2008 #3Just Joined!
- Join Date
- Oct 2008
- Posts
- 6
thanks
Thank you stokes,
your solution really works for me.
- 10-17-2008 #4
If I am not mistaken, you also can use at. If cron will run periodically, at will only run only once...


Reply With Quote
