X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/1815bff58803503e37009deeb85cfa8c22acf9d9..c00fdd175635bfca33c58d1b2951a1565ce91f17:/atrun.tproj/atrun.8 diff --git a/atrun.tproj/atrun.8 b/atrun.tproj/atrun.8 index 7ebc04e..bc80f6b 100644 --- a/atrun.tproj/atrun.8 +++ b/atrun.tproj/atrun.8 @@ -27,25 +27,36 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: atrun.8,v 1.1.1.1 1999/05/02 04:21:19 wsanchez Exp $ +.\" $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.