version 1.55, 2018/03/16 16:58:26 |
version 1.56, 2022/10/22 06:41:04 |
|
|
.Ar HHMM |
.Ar HHMM |
or |
or |
.Ar HH:MM |
.Ar HH:MM |
to run a job at a specific time of day. |
to run a job at a specific time of day |
(If that time is already past, the next day is assumed.) |
(if that time is already past, the next day is assumed). |
You may also specify |
It is also possible to specify |
.Cm midnight , |
.Cm midnight , |
.Cm noon , |
.Cm noon , |
or |
or |
.Cm teatime |
.Cm teatime |
(4pm) |
(4pm), |
and you can have a time-of-day suffixed with |
or have a time-of-day suffixed with |
.Cm AM |
.Cm AM |
or |
or |
.Cm PM |
.Cm PM |
for running in the morning or the evening. |
for running in the morning or the evening. |
You can also say what day the job will be run, |
To say what day the job will be run, |
by giving a date in the form |
give a date in the form |
.Ar \%month-name day |
.Ar \%month-name day |
with an optional |
with an optional |
.Ar year , |
.Ar year , |
|
|
.Pp |
.Pp |
The specification of a date must follow the specification of |
The specification of a date must follow the specification of |
the time of day. |
the time of day. |
You can also give times like |
A time like |
.Oo Cm now Oc Cm + Ar count time-units , |
.Oo Cm now Oc Cm + Ar count time-units |
|
may be given, |
where the time-units can be |
where the time-units can be |
.Cm minutes , |
.Cm minutes , |
.Cm hours , |
.Cm hours , |
|
|
or |
or |
.Cm years |
.Cm years |
(the singular forms are also accepted). |
(the singular forms are also accepted). |
You can tell |
To tell |
.Nm at |
.Nm at |
to run the job today by suffixing the time with |
to run the job today or tomorrow, |
|
suffix the time with |
.Cm today |
.Cm today |
and to run the job tomorrow by suffixing the time with |
or |
.Cm tomorrow . |
.Cm tomorrow . |
The |
The |
.Cm next |
.Cm next |
keyword may be used as an alias for |
keyword may be used as an alias for |
.Cm + 1 . |
.Cm + 1 . |
.Pp |
.Pp |
For example, to run a job at 4pm three days from now, you would do |
For example, to run a job at 4pm three days from now, use |
.Ic at 4pm + 3 days . |
.Ic at 4pm + 3 days . |
To run a job at 10:00am on July 31, you would do |
To run a job at 10:00am on July 31, use |
.Ic at 10am Jul 31 . |
.Ic at 10am Jul 31 . |
To run a job at 1am tomorrow, you would do |
To run a job at 1am tomorrow, use |
.Ic at 1am tomorrow . |
.Ic at 1am tomorrow . |
To run a job at midnight in one week's time, you would do |
To run a job at midnight in one week's time, use |
.Ic at midnight next week . |
.Ic at midnight next week . |
.Pp |
.Pp |
The |
The |
|
|
.Nm batch |
.Nm batch |
as presently implemented are not suitable when users are competing for |
as presently implemented are not suitable when users are competing for |
resources. |
resources. |
If this is the case for your site, you might want to consider another |
If this is the case consider another batch system, |
batch system, such as |
such as |
.Nm nqs . |
.Nm nqs . |