command to ensure other command does last longer than 5 seconds

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



Hi,

I am wondering if there exists a centos command that runs another command
and ensures the second command doesnt take more than x seconds? When x is given on the command line.

If the second command is not "done" the first command will just kill it
and both exit.

Does such a method or command exist?

I just need to ensure the second command does just continue to run and run and run.

Thanks,

Jerry
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux