Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
checks adapted from date(1). Now prevents scheduling jobs in the
past just like the standard (ie: not -n) at(1) date parsing.
|
|
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
|
|
makes lint a bit happier. OK deraadt
|
|
ok otto@
|
|
from ray lai;
|
|
|
|
- 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)
|
|
|
|
from Dmitry V. Levin
|
|
|
|
|
|
millert@ ok
|
|
|
|
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line
ssh pages ok markus@
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
to avoid unnecessary truncation
millert@ ok
|
|
|
|
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.
|
|
|
|
The at(1) code is now more tightly integrated into the cron codebase.
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
While loop in process_job() jobs[i] will contain NULL.
Skip mess.
millert@ ok
|
|
|
|
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
|
|
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
deprecated and no longer documented.
Also, use __progname instead of examining argv and clean up a few minor
warnings.
|
|
in utmp (our getlogin() doesn't look at utmp).
|
|
|
|
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.
|
|
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.
|
|
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
|
o) .Pp before/after .Sh;
o) .Pp before/after .Sh;
o) .Nm without argument in SYNOPSIS;
|
|
|
|
|
|
|
|
- Some .Nm trimming.
- .Sh AUTHOR -> .Sh AUTHORS
- Other miscellaneous fixes here and there.
|