You can specify the time in on of two ways, namely as an absolute time of day in the form hhmm where hh is a time in hours (on a 12 or 24 hour clock), or you can place a + sign in front of the time, in which case the time is relative to the current time, that is, the specified number of hours and minutes from now. All times are converted to a 12 hour clock, and assumed to be in the next 12 hours.
If no argument is given, leave prompts with `When do you have to leave?'. leave exits if you just type a NEWLINE, otherwise the reply is assumed to be a time. This form is suitable for inclusion in a .login or .profile.
leave ignores interrupts, quits, and terminates. To get rid of it you should either log off or use kill -9 and its process ID.
The first example sets the alarm to an absolute time of day:
example% leave 1535 Alarm set for Wed Mar 7 15:35:07 1984
work work work work
example% Time to leave!
The second example sets the alarm for 10 minutes in the future:
example% Time to leave!
example% You're going to be late!
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97