LEAVE(1) — HP-UX
NAME
leave − remind you when you have to leave
SYNOPSIS
leave [ hhmm ]
DESCRIPTION
Leave waits until the specified time, then reminds you to leave. You are reminded 5 minutes and 1 minute before the actual time, at the time, and every minute thereafter. When you log off, leave exits.
The time of day is in the form hhmm, where hh is a time in hours (on a 12- or 24-hour clock). 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?" 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.
Leave ignores interrupts, quits, and terminate signals. To get rid of it you should either log off or use “kill −9” giving its process ID.
EXAMPLES
The command
leave 1204
sends an alarm (a beep) to your terminal to remind you that you have to leave at 12:04 and reminds you that you are late at one minute intervals after 12:04.
WARNINGS
Leave checks to see if a user has logged out by checking the /etc/utmp file every 100 seconds. If a user logs out and logs back in to the same tty before leave makes its periodic check, leave might not know that the user has logged out.
FILES
/etc/utmp
AUTHOR
Leave was developed by the University of California, Berkeley.
SEE ALSO
Hewlett-Packard Company — May 11, 2021