Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Schedule an alarm for a program when starting it
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
NAME alarm - Schedule an alarm for a program when starting it SYNOPSIS alarm duration command [argument...] DESCRIPTION Schedules an alarm(3) to best triggered after a specified duration. The process than execvp(3) into command. This means that command will be killed by SIGALRM after a selected duration. duration must be a non-negative integer, no larger than 18h12m15s. Recognised patterns for duration are: * seconds[s] * minutesm[secondss] * hoursh[minutesm][secondss] RATIONALE This program is useful when testing programs for a limited duration. Especially when running in the background, or there is a chance of it locking the computer. SEE ALSO alarm(3)