at.man: Move examples to the EXAMPLES section

MFC after:	3 days
This commit is contained in:
Mateusz Piotrowski
2023-09-18 20:17:52 +01:00
parent d13b8b3e72
commit cd056e3cd4
+17 -8
View File
@@ -1,4 +1,4 @@
.Dd August 11, 2018 .Dd September 18, 2023
.Dt "AT" 1 .Dt "AT" 1
.Os .Os
.Sh NAME .Sh NAME
@@ -124,13 +124,6 @@ may be told to run the job today by suffixing the time with
and to run the job tomorrow by suffixing the time with and to run the job tomorrow by suffixing the time with
.Cm tomorrow . .Cm tomorrow .
.Pp .Pp
For example, to run a job at 4pm three days from now, use
.Ql at 4pm + 3 days ,
to run a job at 10:00am on July 31, use
.Ql at 10am Jul 31
and to run a job at 1am tomorrow, use
.Ql at 1am tomorrow .
.Pp
The The
.Nm at .Nm at
utility also supports the utility also supports the
@@ -328,6 +321,22 @@ deny permission control
.It Pa _ATJOB_DIR/_LOCKFILE .It Pa _ATJOB_DIR/_LOCKFILE
job-creation lock file job-creation lock file
.El .El
.Sh EXAMPLES
To run a job at 4pm three days from now, use:
.Bd -literal -offset indent
at 4pm + 3 days
.Ed
.Pp
To run a job at 10:00am on July 31, use:
.Bd -literal -offset indent
at 10am Jul 31
.Ed
.Pp
To run a job at 1am tomorrow, use:
.Bd -literal -offset indent
at 1am tomorrow
.Ed
.Pp
.Sh SEE ALSO .Sh SEE ALSO
.Xr nice 1 , .Xr nice 1 ,
.Xr sh 1 , .Xr sh 1 ,