Re: Automatic way of terminating a program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux