at.man: Fix mdoc(7) macro usage

MFC after:	3 days
This commit is contained in:
Mateusz Piotrowski 2023-09-18 20:12:31 +01:00
parent 5e3a8a4a03
commit d13b8b3e72

View file

@ -81,15 +81,15 @@ or
to run a job at a specific time of day.
(If that time is already past, the next day is assumed.)
As an alternative, the following keywords may be specified:
.Em midnight ,
.Em noon ,
.Cm midnight ,
.Cm noon ,
or
.Em teatime
.Cm teatime
(4pm)
and time-of-day may be suffixed with
.Em AM
.Cm AM
or
.Em PM
.Cm PM
for running in the morning or the evening.
The day on which the job is to be run may also be specified
by giving a date in the form
@ -101,34 +101,35 @@ or giving a date of the forms
.Ar DD.MM.YY ,
.Ar MM/DD/YYYY ,
.Ar MM/DD/YY ,
.Ar MMDDYYYY , or
.Ar MMDDYYYY ,
or
.Ar MMDDYY .
The specification of a date must follow the specification of
the time of day.
Time can also be specified as:
.Op Em now
.Em + Ar count \%time-units ,
.Op Cm now
.Cm \&+ Ar count \%time-units ,
where the time-units can be
.Em minutes ,
.Em hours ,
.Em days ,
.Em weeks ,
.Em months
.Cm minutes ,
.Cm hours ,
.Cm days ,
.Cm weeks ,
.Cm months
or
.Em years
.Cm years
and
.Nm
may be told to run the job today by suffixing the time with
.Em today
.Cm today
and to run the job tomorrow by suffixing the time with
.Em tomorrow .
.Cm tomorrow .
.Pp
For example, to run a job at 4pm three days from now, use
.Nm at Ar 4pm + 3 days ,
.Ql at 4pm + 3 days ,
to run a job at 10:00am on July 31, use
.Nm at Ar 10am Jul 31
.Ql at 10am Jul 31
and to run a job at 1am tomorrow, use
.Nm at Ar 1am tomorrow .
.Ql at 1am tomorrow .
.Pp
The
.Nm at
@ -151,7 +152,7 @@ The working directory, the environment (except for the variables
.Ev TERMCAP ,
.Ev DISPLAY
and
.Em _ )
.Ev _ )
and the
.Ar umask
are retained from the time of invocation.