]> git.saurik.com Git - apple/system_cmds.git/blobdiff - atrun.tproj/atrun.8
system_cmds-790.30.1.tar.gz
[apple/system_cmds.git] / atrun.tproj / atrun.8
index 8d50f58c4d763fb4a8cf736b6dd429a9aa574343..bc80f6bcb91e38b2b6a012af0d6427a1518a2250 100644 (file)
 .\"
 .\"    $Id: atrun.8,v 1.1 1999/05/02 04:21:19 wsanchez Exp $
 .\"
-.Dd December 5, 1993
+.Dd March 9, 2008
 .Dt ATRUN 8
-.Os NetBSD 0.9a
+.Os "Mac OS X"
 .Sh NAME
 .Nm atrun
 .Nd run jobs queued for later execution
-.\"
-.Sh SYOPSIS
+.Sh SYNOPSIS
 .Nm atrun
 .Sh DESCRIPTION
 The
 .Nm atrun
 utility runs commands queued by
 .Xr at 1 .
-It is usually invoked by
-.Xr crond 8
-every ten minutes.
+It is invoked periodically by
+.Xr launchd 8
+as specified in the 
+.Pa com.apple.atrun.plist
+property list.
+By default the property list contains the
+.Em Disabled 
+key set to true, so
+.Nm atrun 
+is never invoked.
+.Pp
+Execute the following command as root to enable
+.Nm atrun :
+.Dl "launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist"
+.Pp
 .Sh FILES
 .Bl -tag -width /var/at/lockfile -compact
 .It Pa /var/at/jobs
@@ -56,22 +67,9 @@ Directory containing output spool files
 Job-creation lock file.
 .El
 .Sh SEE ALSO
-.Xr crond 8 ,
-.Xr at 1
+.Xr at 1 ,
+.Xr launchd 8
 .Sh AUTHOR
 .Bl -tag
 Thomas Koenig, ig25@rz.uni-karlsruhe.de
 .El
-.Sh BUGS
-The functionality of
-.Nm atrun
-should arguaby be merged into
-.Xr crond 8 .
-.Sh CAVEATS
-Since the default configuration causes
-.Nm atrun
-to be invoked every ten minutes,
-commands queued by
-.Xr at 1
-may end up being executed up to nine minutes
-later than would be otherwise expected.