LEAVE(1) COMMAND REFERENCE LEAVE(1) NAME leave - remind you when you have to leave SYNOPSIS leave [-i] [-pNumber] [-s] [ time ] [ message ... ] DESCRIPTION Leave waits until the specified time, then reminds you of that event. You are reminded 5 minutes and 1 minute before the actual time, at the time, and every minute for ten minutes thereafter. When you log off, leave exits just before it would have printed the next message. The time is either in the form +Number where number is the delay in minutes from the current time or hhmm, a time in hours and minutes (on a 12 or 24 hour clock). All times given in the second form are converted to a 12 hour clock, and assumed to be in the next 12 hours. If no time is given, leave prompts with "When do you have to leave?". A reply of newline causes leave to exit, otherwise the reply is assumed to be a time. This form is suitable for inclusion in a .login or .profile. A message string can be added to the notification to provide information on which activity you need to leave for, useful if more than one leave is active. OPTIONS -i Prints the process number for the leave invocation on standard out. Useful for getting rid of the repeating reminder. This option invokes -s automatically. -pNumber Changes the default pester time. Normally leave will remind you of your tardiness for ten minutes after the indicated time. Number is set to the integer pester time desired. -s Silent mode. Suppresses the initial notification of the alarm set time. Does not stop later messages, error messages, or the prompt for time. EXAMPLES To obtain a reminder to leave for a special meeting in ten minutes without an initial message and with pester time set to 2 minutes the following is used. leave -p2 -s +10 Special Meeting An invocation for a lunch meeting at 12:30pm would be. Printed 4/6/89 1
LEAVE(1) COMMAND REFERENCE LEAVE(1) leave 1230 Lunch with Smith. RETURN VALUE [NO_ERRS] Command completed without error. [USAGE] Incorrect command line syntax. Execution terminated. [NP_WARN] An error warranting a warning message occurred. Execution continues. CAVEATS Leave ignores interrupts, quits, and terminates. To get rid of it you should either log off or use ``kill -9'' giving its process id. SEE ALSO at(1), calendar(1), signal(3c), sleep(1), and ctime(3c). Printed 4/6/89 2
%%index%% na:264,93; sy:357,197; de:554,1472; op:2026,843; ex:2869,366;3571,40; rv:3611,381; ca:3992,229; se:4221,241; %%index%%000000000142