From 3fbac86322f519d9581beef526088d4625334381 Mon Sep 17 00:00:00 2001 From: millert <> Date: Mon, 15 Jul 2002 19:13:29 +0000 Subject: [PATCH] Move atrun(8) functionality into cron(8) proper. This fixes the long-standing annoyance that atrun's granularity is 10 minutes. Most at jobs run with a 1 minute granularity. Jobs submitted via "at now" or "batch" will run immediately. Includes a rewritten cron(8) man page. at(1) will be integrated more closely into cron at a future date. Upgrading notes: the atrun job in root's crontab should be removed. the /var/at/spool directory is no longer used --- src/etc/crontab | 4 +--- src/etc/mtree/4.4BSD.dist | 7 +------ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/etc/crontab b/src/etc/crontab index 66d72b80..eba918ef 100644 --- a/src/etc/crontab +++ b/src/etc/crontab @@ -1,4 +1,4 @@ -# $OpenBSD: crontab,v 1.9 2001/09/11 19:03:55 millert Exp $ +# $OpenBSD: crontab,v 1.10 2002/07/15 19:13:28 millert Exp $ # # /var/cron/tabs/root - root's crontab # @@ -8,8 +8,6 @@ HOME=/var/log # #minute hour mday month wday command # -*/10 * * * * /usr/libexec/atrun -# # sendmail clientmqueue runner */30 * * * * /usr/sbin/sendmail -L sm-msp-queue -Ac -q # diff --git a/src/etc/mtree/4.4BSD.dist b/src/etc/mtree/4.4BSD.dist index d4aabb2d..a48d84f2 100644 --- a/src/etc/mtree/4.4BSD.dist +++ b/src/etc/mtree/4.4BSD.dist @@ -1,4 +1,4 @@ -# $OpenBSD: 4.4BSD.dist,v 1.132 2002/07/11 12:19:31 markus Exp $ +# $OpenBSD: 4.4BSD.dist,v 1.133 2002/07/15 19:13:29 millert Exp $ /set type=dir uname=root gname=wheel mode=0755 # . @@ -1853,11 +1853,6 @@ jobs gname=crontab mode=01770 # ./var/at/jobs .. -# ./var/at/spool -spool mode=0700 -# ./var/at/spool -.. - # ./var/at ..