LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2005, 08:51 PM   #1
fetusba
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
looking for a time[d]killer : )


i'm looking for a program which can kill a process after some time....something like a timer and when it reaches 0 it kill's a process.
ex. i want to kill process httpd in one hour from now..

thanks for any help
 
Old 05-12-2005, 09:57 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

The easiest way would be to script it. e.g.:
Code:
#!/bin/bash
sleep 3600
killall httpd
Dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a dupe-killer, please dhave Linux - Software 1 01-17-2005 01:49 PM
spam killer? sgtbob Linux - Newbie 1 08-23-2004 07:52 AM
Pop-up killer MaximGorkij Linux - Software 2 02-01-2003 06:15 AM
Killer Program Ideas Please Shak Programming 26 12-01-2002 08:39 AM
Popup Killer Half_Elf Linux - Security 1 04-07-2002 05:33 AM


All times are GMT -5. The time now is 01:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration