Automatic way of terminating a program
Jorge Fábregas
fabregasj at prtc.net
Mon Oct 31 23:52:49 UTC 2005
On Monday 31 October 2005 7:37 pm, Paul Smith wrote:
> Is there some automatic way of terminating a program at a previously
> specified time?
You can use the "at" command if it's going to be for something specific (not
periodically):
Try:
at 4:10pm <ENTER>
kill -15 `pidof myProcessName` <ENTER>
<CTRL-D>
You can specify as many commands you want after the "at" invocation and end it
with a end-of-line (here invoked with CTRL-D). There are many ways to invoke
the "at" command. Read the man page or google for it.
HTH,
Jorge
More information about the fedora-list
mailing list