On 10/26/13, Jacob G Podipara <[email protected]> wrote:
> Dear Knights,
>  May seem to be a silly question. I would like to terminate a process like
> say Herrie, Transmission
>  after an hour say. Can one do that while invoking the utility or is cron
> necassary. The idea is
>  that I listen to quiet music while sleeping off.
>   Regards
>    Podi
> PS. By the way can one post on Twitter from the CLI.
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> ILUGC Mailing List Guidelines:
> http://ilugc.in/mailinglist-guidelines
>
You can background your process and kill after some time like this in
a shell script.

yourcommand  &
RETVAL=$!
sleep 60m
kill -9 $RETVAL

Raman.P
-- 
blog:http://ramanchennai.wordpress.com/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to