summaryrefslogtreecommitdiff
path: root/usr.bin/at
AgeCommit message (Collapse)Author
2013-04-17Adapt cron and at for future large time_t and tv_sec types. These were someTheo de Raadt
of the harder programs to adapt, so let me know if problems happen. tested by guenther, gilles, chl, others
2011-09-04have the -t argument name in the options list match that of SYNOPSIS;Jason McIntyre
ok millert
2011-08-31have the timespec arguments match in case those of time_arg;Jason McIntyre
2011-08-31Copy description of the -t option and its argument with revised textPhilip Guenthe
from the touch(1) manpage after much discussion with jmc@ and miller@
2011-08-30Same fix as 'touch': with the -t option, when the year is specifiedPhilip Guenthe
but the century isn't, the century is 1900 if year >= 69; otherwise it's 2000. (With 32bit time_t, this does't affect any working usage.) ok millert@
2011-08-23Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOTodd C. Miller
defines instead of using custom macros. Missed in last commit.
2011-03-20Add two missing lines that got missed when I did the initial at + cronTodd C. Miller
merge.
2011-03-03Use dirfd() instead of peeking into struct dirent for dd_fd, which isTodd C. Miller
non-standard.
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-07-21document exit values; from daniel dickmanJason McIntyre
2010-07-02'wether' -> 'whether' typo in license text.Kenneth R Westerback
ok deraadt@
2009-12-07behaviour for the -l flag differs between this implementation and posix;Jason McIntyre
spotted by millert
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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
2009-10-05open the -f inputfile before letting lower-down functions call chdir()Theo de Raadt
and move us to where we cannot open it. problem spotted by austin ok millert
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-01-03missing word; from Jason FilleyJason McIntyre
2007-09-05Change some variables to their proper type size_t.Moritz Jodeit
ok millert@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-18Fix typo introduced in seconds parsing. From Tim van der Molen.Todd C. Miller
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2007-05-24If century not specified used the current one instead of aassuming 2000.Todd C. Miller
2007-05-23Fix cut and pasto, seconds value is now stored in dot, not p.Todd C. Miller
2007-05-23Set tm_sec to 0 if no seconds were specified by the timespec (-t) arg.Todd C. Miller
2007-05-23Sanity check the time argument specified by the -t argument. SomeTodd C. Miller
checks adapted from date(1). Now prevents scheduling jobs in the past just like the standard (ie: not -n) at(1) date parsing.
2007-03-26indicate that -l takes an optional argument;Jason McIntyre
whilst here, clean up the -cr descriptions, add some refs to SEE ALSO, and merge the first two synopses into one based on a diff from J.C. Roberts help/ok millert
2006-04-26Cleanup, remove an unused var, use an int to store argc instead of a char,Chad Loder
makes lint a bit happier. OK deraadt
2006-03-22plug an fd leak and closedir() two directories;Robert Nagy
ok otto@
2005-10-25dont' -> don't in comments;Jason McIntyre
from ray lai;
2005-09-30deploy .An -nosplit; ok jmcJared Yanovich
2005-06-23- at(1) synopsis: -r expects a `job' arg, not a timespecJason McIntyre
- remove description of -v: it is only for use with atq(1), and is correctly documented there - sync usage() - correctly format synopis for atrm(1)
2004-06-17Remove trailing whitespace and, for printf, uid/gid are unsignedTodd C. Miller
2004-06-03Verify that argc > 0 before trying to use argv and mark usage as __dead.Todd C. Miller
from Dmitry V. Levin
2003-10-20typos from Jared Yanovich, slightly ammended;Jason McIntyre
2003-09-26better realloc. ok deraadt@Ted Unangst
2003-07-23Add '\n' to error messages in "atrm" mode.Mike Pechkin
millert@ ok
2003-07-02protosTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-04the buffer to getcwd(3) should be PATH_MAX in size, not MAX_FNAMEAnil Madhavapeddy
to avoid unnecessary truncation millert@ ok
2003-03-14This goes with the at.c changeTodd C. Miller
2003-03-13Stash uid and mode in struct at so we don't need to pass around aTodd C. Miller
struct statbuf *. Fixes a bug where atq reports all jobs as being owned by the owner of the last job in the queue. This is fallout from when I added sorting as per the historic BSD atq.
2003-03-03Add back fix from 1.32 that was lost in latest syncTodd C. Miller
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-19Move contents of /var/at into /var/cron since at is now intergrated intoTodd C. Miller
cron. When ISC cron 5.0 is out the integration will be even tighter. Also rename /var/cron/{allow,deny} -> /var/cron/cron.{allow,deny} for consistency with POSIX and at.{allow,deny} and install an empty cron.deny file (as we do at.deny) since crontab will require this in the near future for POSIX compliance. After a "make build" you can update your system as follows: # mv /var/at/* /var/cron # mv /var/cron/jobs /var/cron/atjobs # mv /var/cron.allow /var/cron/cron.allow # mv /var/cron.deny /var/cron/cron.deny # rm -rf /var/at # kill `cat /var/run/cron.pid` ; cron
2003-02-19sequence file is no longer usedTodd C. Miller
2003-02-19Kill an errant space.Todd C. Miller
2003-02-18Use the SUN_LEN macro to set sun_len correctlyTodd C. Miller
2003-02-17Missing #include <limits.h>Todd C. Miller
2003-02-14man page is under same license as the programTodd C. Miller