diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-22 21:24:44 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-22 21:24:44 -0300 |
commit | 4b7aaa0857aaf85334c9bb1870622a3a69412488 (patch) | |
tree | 189d5469de43e4f1a64b006ef134a4907aa1cabe /xalarm | |
parent | fa6b8ebc95f4dc8f30bf07c503f3bdbbc81d909c (diff) | |
download | utils-x11-4b7aaa0857aaf85334c9bb1870622a3a69412488.tar.gz utils-x11-4b7aaa0857aaf85334c9bb1870622a3a69412488.tar.bz2 |
Sketched an at(1) implementation for xalarm
Diffstat (limited to 'xalarm')
-rwxr-xr-x | xalarm | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -11,5 +11,11 @@ DELAY="${1:-10m}" shift MESSAGE="${*:-Alarm!}" +# AT(1) implementation +# Example run: xalarm 1minute mymessage +#echo "xmessage $MESSAGE" | at now +$DELAY + +# Sleep implementation +# Example run: xalarm 1m mymessage sleep $DELAY xmessage $MESSAGE |