RUNALARM(1)
π RUNALARM(1) π
okay bestie, so this is a page from the General Commands Manual, and today's main character is a lil program called runalarm. it's giving "responsible adult with a stopwatch" energy and honestly? we love that for it. π
β¨ NAME β¨
runalarm β enforce a time limit on execution of a process β°
πΈ SYNOPSYS πΈ
(yeah the section is spelled like that, we're not fixing it, we respect the bit π)
runalarm [ -h ]
runalarm [ -d ] [ -t timeout ] command [ args ]
π¦ DESCRIPTION π¦
so basically, runalarm tries to execute a command β and if that subprocess does not exit before a timer expires, it tries to terminate that subprocess. that's it, that's the whole vibe: you get a deadline, and if you blow past it, you're done. π«Ά
otherwise (aka if the command actually behaves and finishes on time), the exit status of the command is returned. periodt.
π USAGE π
-dβ debug mode, babes. sends log messages to standard error as well as to the system log. so you get them in both places, double the drama, double the insight. β¨-t timeoutβ specifies the duration, in seconds, forrunalarmto allow the command to run. the default is a1dduration, which is86400seconds. yes, a whole entire day. yes, that's a lot of seconds. π-hβ prints some basic help. it's giving "here's the manual but shorter". π
π BUGS π
real talk, this one matters: sendingSIGALRMtorunalarmbefore the timer has expired will cause the subprocess to be killed. no cap. so like, don't do that unless you meant to do that. π
π SEE ALSO π
runlock(1), runstat(1) β go read the whole squad, iykyk π
π§ AUTHOR π§
runalarm was written by Jamie Wilkinson <jaq@google.com>, based on some Python code by **Craig Silverstein`. iconic collaboration honestly. β
π COPYRIGHT π
this program is copyright (C) 2000-2010 Google, Inc.
it is licensed under the Apache License, Version 2.0.
and that's the whole page, bestie!! π this lil slice of the General Commands Manual comes to you from Google, Inc., dated October 18, 2010, and it's the RUNALARM(1) page β go forth and set some timers responsibly. mwah. π
π¦β¨
π¦ where this page comes from
- debian bookworm: cronutils 1.9-3+b1 Β· Apache-2.0
- debian trixie: cronutils 1.10-2 Β· Apache-2.0
- nixpkgs unstable: cronutils 1.10
- ubuntu jammy: cronutils 1.9-3 Β· Apache-2.0
- ubuntu noble: cronutils 1.10-1 Β· Apache-2.0
- ubuntu questing: cronutils 1.10-2
- ubuntu resolute: cronutils 1.10-2build1 Β· Apache-2.0
- ubuntu stonking: cronutils 1.10-2build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms