Thread: Running a process for a specific amount of time
hello,
i'm running experiments same process (lets call foo) on hundreds of data sets. i've run data sets intractable, i'd stop foo after t seconds.
instructed use alarm, don't have command on ubuntu desktop. have used in following way:
alarm t foo data
(actually, i'd running sudo chrt -f 99 alarm ...)
want able send signal foo can handle using <csignal>.
so, question(s):
1) possible install alarm? ubuntu recommends install toshutils obtain alarm, different program.
2) there easier way without alarm? i'd incorporate script i've written can run of experiments push of button.
http://ubuntuforums.org/showthread.php?t=1368856
or install timelimit package.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Running a process for a specific amount of time
Ubuntu
Comments
Post a Comment