Browse Source

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
OPENBSD_3_2
millert 22 years ago
parent
commit
3fbac86322
2 changed files with 2 additions and 9 deletions
  1. +1
    -3
      src/etc/crontab
  2. +1
    -6
      src/etc/mtree/4.4BSD.dist

+ 1
- 3
src/etc/crontab View File

@ -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
#


+ 1
- 6
src/etc/mtree/4.4BSD.dist View File

@ -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
..


Loading…
Cancel
Save