Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
pages just needed their -width parameter tweaked to "Ds", which provides
a nice width of 6 constant characters. For consistency more than anything.
|
|
spit out a warning.
|
|
|
|
|
|
|
|
Problem noted by Oleg Safiullin <form@vell.nsc.ru>
|
|
a year > 99. This change fixes the conversion of 2-digit years into
tm_year format.
|
|
|
|
|
|
|
|
- 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... :/
|
|
provided by pjanzen.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|