LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 07: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, 08:57 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

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


Reply



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 12:49 PM
spam killer? sgtbob Linux - Newbie 1 08-23-2004 06:52 AM
Pop-up killer MaximGorkij Linux - Software 2 02-01-2003 05:15 AM
Killer Program Ideas Please Shak Programming 26 12-01-2002 07:39 AM
Popup Killer Half_Elf Linux - Security 1 04-07-2002 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:30 AM.

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
Open Source Consulting | Domain Registration