1.\" $FreeBSD$ 2.Dd April 12, 1995 3.Dt ATRUN 8 4.Os FreeBSD 5.Sh NAME 6.Nm atrun 7.Nd run jobs queued for later execution 8.Sh SYNOPSIS 9.Nm atrun 10.Op Fl l Ar load_avg 11.Op Fl d 12.Sh DESCRIPTION 13.Nm Atrun 14runs jobs queued by 15.Xr at 1 . 16.Pp 17Root's 18.Xr crontab 5 19file 20.Pa /etc/crontab 21has to contain the line 22.Bd -literal 23*/5 * * * * root /usr/libexec/atrun 24.Ed 25.Pp 26so that 27.Xr atrun 8 28gets invoked every five minutes. 29.Pp 30At every invocation, 31.Nm 32will start all the jobs in the lowercase queues whose start 33time has elapsed. 34In addition, if the load average over the last minute was less than 35the specified limit then a maximum of one batch job (denoted by the 36uppercase queues) is started. 37.Sh OPTIONS 38.Bl -tag -width indent 39.It Fl l Ar load_avg 40Specify a limiting load factor, over which batch jobs should 41not be run, instead of the compiled in default of 1.5. 42.It Fl d 43Debug; print error messages to standard error instead of using 44.Xr syslog 3 . 45.El 46.Sh WARNINGS 47For 48.Nm 49to work, you have to start up a 50.Xr cron 8 51daemon. 52.Sh FILES 53.Bl -tag -width /var/at/spool -compact 54.It Pa /var/at/spool 55Directory containing output spool files 56.It Pa /var/at/jobs 57Directory containing job files 58.El 59.Sh SEE ALSO 60.Xr at 1 , 61.Xr crontab 1 , 62.Xr syslog 3 , 63.Xr crontab 5 , 64.Xr cron 8 65.Sh BUGS 66The functionality of 67.Nm 68should be merged into 69.Xr cron 8 . 70