blob: 7519a5774735fc2bc56ddbf2cbfac8c762525d62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
.\" $OpenBSD: atrun.8,v 1.9 2000/11/09 17:53:34 aaron Exp $
.\" $FreeBSD: atrun.man,v 1.3 1997/02/22 14:20:55 peter Exp $
.Dd April 12, 1995
.Dt ATRUN 8
.Os
.Sh NAME
.Nm atrun
.Nd run jobs queued for later execution
.Sh SYNOPSIS
.Nm atrun
.Op Fl l Ar load_avg
.Op Fl d
.Sh DESCRIPTION
.Nm
runs jobs queued by
.Xr at 1 .
Root's
.Xr crontab 5
must contain the line:
.Bd -literal -offset indent
*/10 * * * * root /usr/libexec/atrun
.Ed
.Pp
so that
.Xr atrun 8
gets called every ten minutes.
.Pp
At every invocation, every job in lowercase queues whose starting time
has passed is started.
A maximum of one batch job (denoted by uppercase queues) is started
each time
.Nm
is invoked.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl l Ar load_avg
Specifies a limiting load factor, over which batch jobs should
not be run, instead of the compiled-in value of 1.5.
.It Fl d
Debug; print error messages to standard error instead of using
.Xr syslog 3 .
.El
.Sh WARNINGS
For
.Nm
to work, you have to start up a
.Xr cron 8
daemon.
.Sh FILES
.Bl -tag -width /var/at/spool -compact
.It Pa /var/at/spool
directory containing output spool files
.It Pa /var/at/jobs
directory containing job files
.El
.Sh SEE ALSO
.Xr at 1 ,
.Xr crontab 1 ,
.Xr syslog 3 ,
.Xr crontab 5 ,
.Xr cron 8
.Sh AUTHOR
Thomas Koenig <ig25@rz.uni-karlsruhe.de>.
.Sh BUGS
The functionality of
.Nm
should be merged into
.Xr cron 8 .
|