diff options
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 |