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

How can I get a script to find out what a PID is?



I would like to be able to kill a process with cron.  Since Process IDs are
always different, is there a way to kill a process by the application name?
Or, is there a way to get the process ID and pass it to cron?
Alternatively, is there a way to start an application with the same PID
every time?  In my case, the application is 'x11amp'.  I need to schedule it
to quit at a predetermined time.

Thanks
--------------------------------------------
 George H. Lenzer
 Technology Specialist
 Cleveland Heights-University Heights
 P u b l i c  L i b r a r y
 2345 Lee Rd. Cleveland Heights, Ohio 44118
 Voice - (216)932-3600 x274
 E-mail: glenzer chuhpl lib oh us
--------------------------------------------



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