summaryrefslogtreecommitdiff
path: root/usr.bin/at
AgeCommit message (Collapse)Author
2002-05-14Major changes:Todd C. Miller
Job names are now "runtime.queue" where runtime is when the job will run in Unix time format. This is what SysV at does and allows us to nuke the .SEQ file. Historic BSD options for atq and atrm are now implemented; atq and atrm get their own man pages. At no longer does anything with the -v flag. We print the execution time when jobs are submitted so there is no need. Most *scanf() usage is gone (one remains in atrun). Better sanity checks in atrun. Random style/cleanup. With these changes we have the best of both worlds; POSIX compliance with the traditional BSD features.
2002-05-13Execute job with user's shell, not /bin/sh as per POSIX and historicTodd C. Miller
BSD behavior. Add some bash-specific and ssh agent variables to the no_export list. Print the message after job submission the way POSIX wants. When cat'ing or removing non-existent jobs, exit with an error if the specified job does not exist.
2002-05-13Only print usage for the command that was run (at, atq, atrm, batch), notTodd C. Miller
all four. Also differentiate between the touch(1) style time as time_arg and the at(1) style time as timespec (which is what SUS3 does). Instead of referring to the touch time format as POSIX time, reference touch. This is what SUS3 does and it is what users will know.
2002-05-11Pass -Wall and use ANSI function headers.Todd C. Miller
2002-05-11Add POSIX -r and -t flags from FreeBSD. The old -d option is nowTodd C. Miller
deprecated and no longer documented. Also, use __progname instead of examining argv and clean up a few minor warnings.
2002-05-11sort command line options lexigraphically and remove lies about lookingTodd C. Miller
in utmp (our getlogin() doesn't look at utmp).
2002-05-11Kill -V (version) option since it has no relation to reality any more.Todd C. Miller
2002-05-11Use O_EXCL (not O_TRUNC) when creating new job file. If there is aTodd C. Miller
pre-existing file with the same name this is indicative of a problem with the sequence file and so it makes sense to treat it as an error.
2002-05-11at(1) is no longer setuid root, it is setgid crontab.Todd C. Miller
This means that /var/at/at.{allow,deny} must be readable by group crontab, /var/at/jobs is mode 01770, and /var/at/.SEQ is mode 0660.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-07-20we don't like:Mike Pechkin
o) .Pp before/after .Sh; o) .Pp before/after .Sh; o) .Nm without argument in SYNOPSIS;
2001-01-29$OpenBSD$Niklas Hallqvist
2001-01-17remove stdio code from handler, and _exit() at terminationTheo de Raadt
2000-11-17sync program usage to manual page; mpech@prosoft.org.lvTheo de Raadt
2000-11-10- Section shuffling: comply to the section ordering outlined in mdoc(7).Aaron Campbell
- Some .Nm trimming. - .Sh AUTHOR -> .Sh AUTHORS - Other miscellaneous fixes here and there.
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-07-06Insert more missing .El directives. Our troff really should identify these andAaron Campbell
spit out a warning.
2000-04-23Fix thinko, check eqp for NULL, not ap; ath@algonet.seTodd C. Miller
2000-03-23Fix some formatting problems I missed before.Aaron Campbell
2000-03-04Many improvements and general cleanup/standardization.Aaron Campbell
2000-01-21Deal with getcwd() returning NULL.Todd C. Miller
Problem noted by Oleg Safiullin <form@vell.nsc.ru>
2000-01-05Y2K fix. at(1) would die with 'garbled time' when assign_date() was passedTodd C. Miller
a year > 99. This change fixes the conversion of 2-digit years into tm_year format.
1999-12-15does not overflowTheo de Raadt
1999-09-14atq prints 2 digits for yearTheo de Raadt
1999-07-04correct use of .Nm; some other formatting nitsAaron Campbell
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-03-21PR 778: Handle 2-digit year values post-Y2K. Improvements to PR 778Alex Feldman
provided by pjanzen.
1998-11-04be really pedantic about punctuation following -mdoc macro'd textAaron Campbell
1998-09-23usr.bin/ man page repairs, a - eAaron Campbell
1998-07-10long month names; archie@whistle.comTheo de Raadt
1998-07-09user err/warn; some -WallMichael Shalayeff
1998-06-26make 'now' work as a timespecTodd C. Miller
1998-06-05spellingTheo de Raadt
1998-06-03zero sigaction before useTheo de Raadt
1998-02-12Make man page agree with installation as to default config.Marco S Hyman
1997-10-06bail if permission problem; ms@xy.orgTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-06-17(foo *)NULL -> NULLkstailey
1997-06-12The NULL macro yields a null pointer constant that is usable as an addresskstailey
constant expression.
1997-03-03cleanupTodd C. Miller
1997-03-03Give usage message when atq used incorrectly.Todd C. Miller
1997-03-03Complain if invoked in a form that requires an argument and we didn'tTodd C. Miller
get one.
1997-03-02Fix up the XXX's I left (oops).Todd C. Miller
1997-03-01Merge in changes from at 2.9Todd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegesThorsten Lockert
1996-10-26Fall back to $USER if getlogin() fails and $LOGNAME is not set.Todd C. Miller
1996-10-15Make sprintf work for you, not the other way around.Todd C. Miller
1996-10-08Attempt at cleanup.michaels
1996-08-03Was runing most of the code with real and effective uid of 0, contraryTodd C. Miller
to the comments. Fixed that and made sure unlink of job file is done as root so it can succeed. Also will now detect empty input.