1998-06-28 01:15:42 +04:00
|
|
|
.\" $NetBSD: atrun.8,v 1.8 1998/06/27 21:15:42 christos Exp $
|
|
|
|
.\" $OpenBSD: atrun.8,v 1.4 1998/05/22 22:16:29 deraadt Exp $
|
|
|
|
.\" $FreeBSD: atrun.man,v 1.3 1997/02/22 14:20:55 peter Exp $
|
|
|
|
.Dd April 12, 1995
|
1993-12-05 14:34:40 +03:00
|
|
|
.Dt ATRUN 8
|
1998-06-28 01:15:42 +04:00
|
|
|
.Os
|
1993-12-05 14:34:40 +03:00
|
|
|
.Sh NAME
|
|
|
|
.Nm atrun
|
|
|
|
.Nd run jobs queued for later execution
|
1997-03-18 17:25:29 +03:00
|
|
|
.Sh SYNOPSIS
|
1998-06-28 01:15:42 +04:00
|
|
|
.Nm atrun
|
|
|
|
.Op Fl l Ar load_avg
|
|
|
|
.Op Fl d
|
1993-12-05 14:34:40 +03:00
|
|
|
.Sh DESCRIPTION
|
1998-06-28 01:15:42 +04:00
|
|
|
.Nm Atrun
|
|
|
|
runs jobs queued by
|
1993-12-05 14:34:40 +03:00
|
|
|
.Xr at 1 .
|
1998-06-28 01:15:42 +04:00
|
|
|
Root's
|
|
|
|
.Xr crontab 5
|
|
|
|
must contain the line:
|
|
|
|
.nf
|
|
|
|
|
|
|
|
*/10 * * * * root /usr/libexec/atrun
|
|
|
|
|
|
|
|
.fi
|
|
|
|
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 atrun
|
|
|
|
is invoked.
|
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.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 atrun
|
|
|
|
to work, you have to start up a
|
1994-11-03 18:37:46 +03:00
|
|
|
.Xr cron 8
|
1998-06-28 01:15:42 +04:00
|
|
|
daemon.
|
1993-12-05 14:34:40 +03:00
|
|
|
.Sh FILES
|
1998-06-28 01:15:42 +04:00
|
|
|
.Bl -tag -width /var/at/spool -compact
|
1993-12-05 14:34:40 +03:00
|
|
|
.It Pa /var/at/spool
|
|
|
|
Directory containing output spool files
|
1998-06-28 01:15:42 +04:00
|
|
|
.It Pa /var/at/jobs
|
|
|
|
Directory containing job files
|
1993-12-05 14:34:40 +03:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
1998-06-28 01:15:42 +04:00
|
|
|
.Xr cron 8 ,
|
|
|
|
.Xr crontab 1 ,
|
|
|
|
.Xr crontab 5 ,
|
1997-10-20 06:26:44 +04:00
|
|
|
.Xr at 1 ,
|
1998-06-28 01:15:42 +04:00
|
|
|
.Xr syslog 3 .
|
1993-12-05 14:34:40 +03:00
|
|
|
.Sh BUGS
|
1998-06-28 01:15:42 +04:00
|
|
|
The functionality of
|
|
|
|
.Nm atrun
|
|
|
|
should be merged into
|
1994-11-03 18:37:46 +03:00
|
|
|
.Xr cron 8 .
|
1998-06-28 01:15:42 +04:00
|
|
|
.Sh AUTHOR
|
|
|
|
Thomas Koenig <ig25@rz.uni-karlsruhe.de>.
|