summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/config.h
AgeCommit message (Collapse)Author
2004-06-17UUpdate ISC copyright year to 2004Todd C. Miller
Remove unused macros Skip_Line and MkLower Remove trailing whitespace
2003-04-14Use setproctitle() instead of the CAPITALIZE_FOR_PS hack. InspiredTodd C. Miller
by similar changes in FreeBSD and NetBSD. For at jobs, include the job number in the proctitle.
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
The at(1) code is now more tightly integrated into the cron codebase.
2003-02-20If there is no cron.allow or cron.deny file, only the superuser may runTodd C. Miller
the crontab command; for POSIX compliance. Create an empty cron.deny file to allow any user to run crontab: install -c -o root -g crontab -m 660 /dev/null /var/cron/cron.deny
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
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
2002-07-08minor cosmetic change to reduce diffsTodd C. Miller
2002-07-08Merge in some changes from Paul Vixie's tree; most are cosmeticTodd C. Miller
o ANSI function headers o return (foo) not return foo o add -oi to sendmail flags o update email address in man pages o make some strings const o completely remove globbing cruft from popen.c o whitespace changes o add DOW_STAR to flags for "monthly", "weekly", and "daily" cron entries
2001-05-29build with BSD auth supportTodd C. Miller
2001-02-19Normalize the time in minutes to GMT so we can really catch DST changesTodd C. Miller
(since time() does not change during a DST switch). This makes cron correctly detect DST changes. It does not fix the problem of wildcard jobs running multiple times. Also, don't rely on tm_gmtoff since that is non-standard (but use it when we have it).
2001-02-18Don't run sendmail with the -or0s arg since it causes sendmail toTodd C. Miller
drop root privileges when specified on the command line.
2001-02-18Define CAPITALIZE_FOR_PS so children are capitalized in ps (like before).Todd C. Miller
2001-02-18Update to ISC cron 4.0b1 + our patches. This is now under a BSD license.Todd C. Miller
I also fixed the signal handlers while I was at it.
2000-08-20Add calls to setusercontext() and login_get*(). We basically callTodd C. Miller
setusercontext() in most places where previously we did a setlogin(). Add default login.conf file and put root in the "daemon" login class.
1999-08-29Add comment to remind people not to use args in MAILARGS that willTodd C. Miller
cause sendmail to drop it's setuid privs.
1999-08-28Run sendmail as the user corresponding to the crontab entry.Todd C. Miller
This keeps a user from abusing sendmail via the MAILTO var. Had to drop -or0s from MAILARGS since that causes sendmail to drop its privs (contrary to the sendmail docs).
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt