OpenBSD CVS

CVS log for src/usr.sbin/cron/atrun.c


[BACK] Up to [local] / src / usr.sbin / cron

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.54 / (download) - annotate - [select for diffs], Wed Dec 28 21:30:16 2022 UTC (17 months, 1 week ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech

Revision 1.53 / (download) - annotate - [select for diffs], Sun Oct 24 21:24:18 2021 UTC (2 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

For open/openat, if the flags parameter does not contain O_CREAT, the
3rd (variadic) mode_t parameter is irrelevant.  Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk.  They could all be 0xdeafbeef.
ok millert

Revision 1.52 / (download) - annotate - [select for diffs], Sun Oct 20 13:33:30 2019 UTC (4 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.51: +99 -76 lines
Diff to previous 1.51 (colored)

Use strtonum(3) in atrun.  Also limit uid/gid to UID_MAX-1 and
GID_MAX-1 for good measure.  OK deraadt@

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jul 3 03:24:03 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.50: +5 -3 lines
Diff to previous 1.50 (colored)

snprintf/vsnprintf return < 0 on error, rather than -1.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:47 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Jan 25 00:19:27 2019 UTC (5 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

I am retiring my old email address;  replace it with my OpenBSD one.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Oct 25 17:08:58 2017 UTC (6 years, 7 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.47: +5 -3 lines
Diff to previous 1.47 (colored)

Open a bunch of fds with O_CLOEXEC

Not needed in theory, but could prevent accidental leaks.  ok millert@

Revision 1.47 / (download) - annotate - [select for diffs], Mon Oct 23 15:15:22 2017 UTC (6 years, 7 months ago) by jca
Branch: MAIN
Changes since 1.46: +5 -1 lines
Diff to previous 1.46 (colored)

Close the socket (and dfd) in at(1) child processes

Fixes a failure at restart if a child process still has the socket
opened.  Spotted by millert@, ok friehm@ millert@

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jun 8 16:23:39 2017 UTC (7 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.45: +10 -4 lines
Diff to previous 1.45 (colored)

Add logging for when we find a non-file in the at spool that was
a file when we scanned the at spool earlier.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 7 23:36:43 2017 UTC (7 years ago) by millert
Branch: MAIN
Changes since 1.44: +6 -1 lines
Diff to previous 1.44 (colored)

In cron(8), require that crontab and at files in the spool be owned
by group crontab.  The at(1) command now creates files owned by
group crontab, the crontab(1) command already does this.

Files in the crontab spool with parse errors are now ignored;
crontab(1) will not install a crontab file with parse errors.
The system crontab file (/etc/crontab) is not affected by this.

The required permissions on crontab files have been tightened.
Files in the cron spool must be mode 0600 (as created by crontab(1)).
The system crontab file may be readable/writable by the owner,
readable by group and readable by other.  The system crontab must
be readable by the owner.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jun 7 17:59:36 2017 UTC (7 years ago) by millert
Branch: MAIN
Changes since 1.43: +25 -14 lines
Diff to previous 1.43 (colored)

When running at jobs, open the at spool and use the directory fd
with openat(), fstatat() and unlinkat().  This is similar to how
we run cron jobs and eliminates the need for run_job() to find the
basename of the at file.  OK deraadt@

Revision 1.43 / (download) - annotate - [select for diffs], Mon Jan 11 14:23:50 2016 UTC (8 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored)

When caching the mtime of the spool directory and system crontab files,
stash a struct timespec, not just a time_t.  Fixes a bug where cron
could skip re-reading the spool after two consecutive changes.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 17 22:31:44 2015 UTC (8 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.41: +5 -2 lines
Diff to previous 1.41 (colored)

Check pipe(2) return value; noticed by deraadt@

Revision 1.41 / (download) - annotate - [select for diffs], Sun Nov 15 23:24:24 2015 UTC (8 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.40: +51 -39 lines
Diff to previous 1.40 (colored)

Clean up the remaining uses of stderr and perror() and use warn/err
and/or syslog depending on whether stderr is hooked up at the time.
Also remove closelog() which is not needed since we are headed for exec.
OK guenther@

Revision 1.40 / (download) - annotate - [select for diffs], Sat Nov 14 13:09:14 2015 UTC (8 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.39: +33 -27 lines
Diff to previous 1.39 (colored)

Remove log_it() and call syslog(3) directly using the same format:
"(username) WHAT (details)".  Logs due to normal operation (e.g.
crontab operations or running commands) are logged at LOG_INFO like
before.  Actual errors are logged at LOG_ERR, less important things
are logged at LOG_WARNING OR LOG_NOTICE.  Also ignore SIGHUP now
that there is no log file to reopen.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Nov 12 21:12:05 2015 UTC (8 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.38: +25 -12 lines
Diff to previous 1.38 (colored)

Use absolute paths in pathnames.h.  There is no longer a need to
chdir(2) to the cron dir and cron(8) now changes to / via daemon(3).
We no longer try to create/chmod the spool directories as they
should be set correctly at install time.  The setegid(crontab)
has been moved to open_socket() so it is closer to the chmod(2)
call that needs it.  OK deraadt@ tedu@

Revision 1.38 / (download) - annotate - [select for diffs], Mon Nov 9 16:37:07 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.37: +20 -20 lines
Diff to previous 1.37 (colored)

Remove unused xpid argument to log_it().

Revision 1.37 / (download) - annotate - [select for diffs], Mon Nov 9 15:57:39 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.36: +8 -8 lines
Diff to previous 1.36 (colored)

Rename AT_DIR -> AT_SPOOL and SPOOL_DIR -> CRON_SPOOL to improve
readability.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Nov 9 14:44:05 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.35: +27 -40 lines
Diff to previous 1.35 (colored)

Use fstatat() when checking the files in the at queue so we
don't need to chdir to the queue dir.  OK guenther@

Revision 1.35 / (download) - annotate - [select for diffs], Mon Nov 9 01:12:27 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.34: +41 -54 lines
Diff to previous 1.34 (colored)

queue(3) instead of homegrown queues and lists.  This also fixes
some potential memory leaks in error paths.  OK guenther@

Revision 1.34 / (download) - annotate - [select for diffs], Wed Nov 4 20:28:17 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.33: +27 -3 lines
Diff to previous 1.33 (colored)

Change cron from including all headers in every file to only including
what each .c file needs.  I have not removed cron.h since it will
be used in a future clean up of the cron's .h files.  OK nicm@

Revision 1.33 / (download) - annotate - [select for diffs], Sun Oct 25 21:30:11 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.32: +1 -3 lines
Diff to previous 1.32 (colored)

Remove cron.pid support.  We still want to avoid multiple crons
running so verify that if the cron socket exists nothing is listening
on it.  OK tedu@

Revision 1.32 / (download) - annotate - [select for diffs], Fri Oct 23 18:42:55 2015 UTC (8 years, 7 months ago) by tedu
Branch: MAIN
Changes since 1.31: +1 -6 lines
Diff to previous 1.31 (colored)

remove some more ifdef maziness

Revision 1.31 / (download) - annotate - [select for diffs], Sat Oct 3 19:47:21 2015 UTC (8 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored)

There is no need to keep a global array of sysconf(_SC_OPEN_MAX) elements
just to keep track of a single pid. Return it to the caller and make it
their problem.
ok deraadt millert

Revision 1.30 / (download) - annotate - [select for diffs], Sat Oct 3 12:46:54 2015 UTC (8 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.29: +1 -24 lines
Diff to previous 1.29 (colored)

unifdef some features we will always have. ok benno zhuk

Revision 1.29 / (download) - annotate - [select for diffs], Tue Aug 25 20:09:27 2015 UTC (8 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Use ppoll(2) instead of poll(2).  This has two benefits.  Firstly,
we can use struct timespec throughout and avoid any conversion
issues which might cause jobs to fire prematurely.  Secondly, it
eliminates a race condition that could delay us taking action on
SIGCHLD and SIGHUP.  OK deraadt@ okan@ ratchov@

Revision 1.28 / (download) - annotate - [select for diffs], Mon Feb 9 23:00:14 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

clean up flags++ instances around getopt()
ok florian

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jan 23 02:37:25 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Remove the OK and ERR macros. They obfuscate the code and don't
help legibility. (unix system calls use 0 for ok, but hundreds of
other projects use 1 to indicate success.) Despite the name, many
system calls (e.g., open) also return not OK values for success.
It also cleans up some weird code like int crontab_fd = OK - 1;
This diff is mechanical in nature. Later I will fix the bugs it reveals.
ok deraadt

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 23 01:01:06 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.25: +3 -43 lines
Diff to previous 1.25 (colored)

remove debug code.
I think the level of debug code in cron is excessive for a program
that has reached feature complete. If cron needs to provide more
information to the user about its operational status, I think syslog
would be more appropriate. (The debug flags also disable forking
into the background, so they aren't even that useful for debugging a
live system.)
ok deraadt millert

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jan 22 22:38:55 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

delete useless casts. ok deraadt guenther millert

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 19 01:05:32 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +1 -8 lines
Diff to previous 1.23 (colored)

If UID_MAX is not defined, this should fail to compile.
ok guenther

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jan 14 17:30:53 2015 UTC (9 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Replace MAXHOSTNAMELEN with HOST_NAME_MAX+1 and MAXNAMLEN with NAME_MAX
and use limits.h instead of sys/param.h.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 14 17:27:51 2015 UTC (9 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Use HAVE_FOO for BSD-specific features instead of relying on the
BSD macro from sys/param.h.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 14 17:27:29 2015 UTC (9 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Use standard types for wait, readdir, signals and pids.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Nov 23 19:18:52 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.19: +2 -4 lines
Diff to previous 1.19 (colored)

remove redundant check, and be a bit more careful about queue naming
discussion with jca
ok millert guenther

Revision 1.19 / (download) - annotate - [select for diffs], Wed Apr 17 15:58:45 2013 UTC (11 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.18: +11 -13 lines
Diff to previous 1.18 (colored)

Adapt cron and at for future large time_t and tv_sec types.  These were some
of the harder programs to adapt, so let me know if problems happen.
tested by guenther, gilles, chl, others

Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 22 19:32:42 2011 UTC (12 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.17: +32 -32 lines
Diff to previous 1.17 (colored)

Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENO
defines instead of using custom macros.  OK deraadt@ gilles@

Revision 1.17 / (download) - annotate - [select for diffs], Thu Mar 3 15:08:14 2011 UTC (13 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

Reset the SIGPIPE signal handler immediately before executing a command.
We ignore it by default so cron doesn't die if sendmail is missing
or exits prematurely but the actual command being run should have the
default handler installed.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:51 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.15: +1 -5 lines
Diff to previous 1.15 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 13 20:44:00 2006 UTC (17 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

Add Auto-Submitted header in generated mail as per RFC 3834.
OK henning@, ckuethe@, krw@, ian@.  From Tamas TEVESZ.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 30 20:45:58 2005 UTC (19 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.13: +6 -3 lines
Diff to previous 1.13 (colored)

Proper cleanup on malloc failure; Andrey Matveev

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 17 22:11:55 2004 UTC (19 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)

UUpdate ISC copyright year to 2004
Remove unused macros Skip_Line and MkLower
Remove trailing whitespace

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jun 3 19:54:04 2004 UTC (20 years ago) by millert
Branch: MAIN
Changes since 1.11: +14 -7 lines
Diff to previous 1.11 (colored)

More changes from Dmitry V. Levin:

Check return values for setgid, initgroups and setuid in code we don't compile.
Print the correct filename for the at job in mail sent.
Add some #if DEBUGGING in cron.c's usage().
Set sunlen each time before using it in accept().
Don't send mail at all if MAILTO is set but empty.

Revision 1.11 / (download) - annotate - [select for diffs], Thu May 13 14:22:18 2004 UTC (20 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Pasto, change a cast from uid_t to gid_t (no real change...)

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 17 21:56:26 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.9: +13 -9 lines
Diff to previous 1.9 (colored)

Sync with share/misc/license.template and add missing DARPA credit
where applicable.

Revision 1.9 / (download) - annotate - [select for diffs], Mon May 12 20:33:31 2003 UTC (21 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.8: +15 -11 lines
Diff to previous 1.8 (colored)

feof() can only be used after you actually hit EOF so the check
for no output from the at command was busted.  Instead of using
feof(), just fread() a buffer's worth and check to see if we
got anything back.  Closes PR 3252.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 14 15:58:13 2003 UTC (21 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.7: +8 -14 lines
Diff to previous 1.7 (colored)

Use setproctitle() instead of the CAPITALIZE_FOR_PS hack.  Inspired
by similar changes in FreeBSD and NetBSD.  For at jobs, include the
job number in the proctitle.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Mar 15 00:39:01 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Use strlcpy() instead of pre-checking the src len and using strcpy()

Revision 1.6 / (download) - annotate - [select for diffs], Thu Feb 20 20:38:08 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.5: +47 -44 lines
Diff to previous 1.5 (colored)

Sync with ISC cron-current + my at(1) integration.
The at(1) code is now more tightly integrated into the cron codebase.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Aug 10 20:28:51 2002 UTC (21 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

Just zero out pw_passwd in the pw_dup()'d copy.  There's no need
to do this elsewhere and my previous commit in this area caused
problems on systems with an /etc/crontab file.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Aug 8 18:17:50 2002 UTC (21 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.3: +4 -5 lines
Diff to previous 1.3 (colored)

Move closelog() into log_close() function and call that instead
of calling closelog() (with #ifdefs) directly.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Aug 7 23:22:41 2002 UTC (21 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

paranoia: zero out pw_passwd since we don't need it

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 15 22:16:41 2002 UTC (21 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Move login_close() out of #ifdef BSD_AUTH block

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jul 15 19:13:29 2002 UTC (21 years, 10 months ago) by millert
Branch: MAIN

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.