summaryrefslogtreecommitdiff
path: root/usr.bin/at
Commit message (Collapse)AuthorAgeFilesLines
* - Correct the description when jobs are executed related to load avgAlexander Leidinger2018-08-111-3/+4
| | | | | | | | | | | | | to match reality (slightly different to what was submitted in the PR: use english word instead of math-symbol). - Wrap the corresponding part to below 80 characters per line. Submitted by: yamagi@yamagi.org PR: 202202 Sponsored by: Essen Hackathon Notes: svn path=/head/; revision=337638
* Move cron.d/at to usr.bin/at/Brad Davis2018-08-112-0/+10
| | | | | | | | | | | | This helps with pkgbase as it tags this as a config file so it is handled as such Approved by: allanjude (mentor) Sponsored by: Essen Hackathon Differential Revision: https://reviews.freebsd.org/D16673 Notes: svn path=/head/; revision=337626
* at.man: Bump .Dd missed in r334502Conrad Meyer2018-06-011-1/+1
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=334503
* Update other man pages to match leap second realityConrad Meyer2018-06-011-1/+1
| | | | | | | | | | | Missed these in r334501; see justification there: https://svnweb.freebsd.org/base?view=revision&revision=334501 Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=334502
* at(1): annotate some intended switch-case fallthroughsAlan Somers2017-12-081-0/+3
| | | | | | | | | | Reported by: Coverity CID: 1008191 MFC after: 3 weeks Sponsored by: Spectra Logic Corp Notes: svn path=/head/; revision=326698
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-279-10/+39
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Use nitems() from sys/param.hMarcelo Araujo2016-07-301-1/+1
| | | | | | | Sponsored by: gandi.net (BSD Day Taiwan) Notes: svn path=/head/; revision=303540
* Fix typo: actually test the return of strchr(3)Baptiste Daroussin2016-04-201-1/+1
| | | | | | | | | Reported by: Coverity CID: 1007335 MFC after: 3 days Notes: svn path=/head/; revision=298369
* Merge from headBaptiste Daroussin2015-09-121-2/+3
|\ | | | | | | Notes: svn path=/projects/release-pkg/; revision=287708
| * Finish r89633 and completely remove the remaining of VERSION.Xin LI2015-08-251-2/+3
| | | | | | | | | | | | | | | | | | PR: bin/202308 Submitted by: John Hein <z7dr6ut7gs snkmail com> MFC after: 2 weeks Notes: svn path=/head/; revision=287123
* | Merge from headBaptiste Daroussin2015-06-151-0/+18
|\| | | | | | | Notes: svn path=/projects/release-pkg/; revision=284410
| * Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| | * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| | * Merge from head@274682Simon J. Gerraty2014-11-191-2/+1
| | |\ | | |/ | |/| | | | Notes: svn path=/projects/bmake/; revision=274683
| | * Merge head from 7/28Simon J. Gerraty2014-08-191-3/+4
| | |\ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| | * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| | * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| | * | sync from headSimon J. Gerraty2013-04-122-3/+27
| | |\ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=249429
| | * | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| | * | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| | * | | Sync from headSimon J. Gerraty2012-11-042-30/+64
| | |\ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| | * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | Make at(1) and related tools an individual packageBaptiste Daroussin2015-03-051-0/+1
|/ / / / / | | | | | | | | | | | | | | | Notes: svn path=/projects/release-pkg/; revision=279662
* | | | | Sigh, remove a line that needs to be removed along with previous commit.Xin LI2014-09-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: mjg MFC after: 3 days X-MFC-with: 272288 Notes: svn path=/head/; revision=272289
* | | | | When setting environment variables in the atrun script, use theXin LI2014-09-291-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "export foo=bar" form instead of "foo=bar; export foo" since the former allows the shell to catch variable names that are not valid shell identifiers. This will cause /bin/sh to exit with an error (which gets mailed to the at user) and it will not run the script. Obtained from: OpenBSD (r1.63 millert) MFC after: 3 days Notes: svn path=/head/; revision=272288
* | | | use .Mt to mark up email addresses consistently (part3)Baptiste Daroussin2014-06-231-3/+4
| |_|/ |/| | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267773
* | | - Do not bail out if stat(2) fails with ENOENT in the spool directory. ThisPietro Cerutti2013-04-121-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | happens if another atrm process removes a job while we're scanning through the directory. - While at it, optimize a bit the directory scanning, so that we quit looping as soon as all jobs specified in argv have been dealt with. Approved by: cognet Notes: svn path=/head/; revision=249406
* | | - Switch order of setting real uid and gid. If we set uid first, then wePietro Cerutti2013-04-121-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | don't have enough privileges to set gid. This looks like a long standing bug, just recently revealed by r241852. Approved by: cognet Notes: svn path=/head/; revision=249404
* | Check the return error of set[ug]id. While this can never fail in theEitan Adler2012-10-221-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail. PR: bin/172289 PR: bin/172290 PR: bin/172291 Submittud by: Erik Cederstrand <erik@cederstrand.dk> Discussed by: freebsd-security Approved by: cperciva MFC after: 1 week Notes: svn path=/head/; revision=241852
* | More -Wmissing-variable-declarations fixes.Ed Schouten2012-10-191-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'. Notes: svn path=/head/; revision=241737
* | Allow time offsets to be negative, e.g. `at 1530 - 15 minutes`.Martin Cracauer2012-10-051-13/+49
|/ | | | | | | | | | | This is useful if you have been given some time for some event in some format and you want your computer to do something to prepare for it. Without having to do time arithmetic in a shellscript. The syntax matches what the at(1) usually used on Linux supports. Notes: svn path=/head/; revision=241230
* Partially revert r227233.Ed Schouten2011-11-062-4/+11
| | | | | | | | | | | The privs.h header is not only used by at(1), it's also used by atrun(8). Just let the code the way it used to be (for now). Reported by: kwm, tinderbox Hat to: me Notes: svn path=/head/; revision=227269
* Add missing static keywords to at(1).Ed Schouten2011-11-063-18/+9
| | | | | | | | | While there, tidy up the privs.h part, where at.c has to #define to declare some globals. Also group static and non-static global variables in at.c. Notes: svn path=/head/; revision=227233
* Build at(1) with NO_WFORMAT instead of WARNS=1.Ed Schouten2011-10-161-1/+1
| | | | Notes: svn path=/head/; revision=226420
* Close file and directory descriptorsKevin Lo2010-11-191-0/+3
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=215518
* Remove stale references to utmp(5) and its corresponding filenames.Ed Schouten2010-01-211-2/+2
| | | | | | | I removed utmp and its manpage, but not other manpages referring to it. Notes: svn path=/head/; revision=202756
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* ANSIfy various tools in usr.bin/.Ed Schouten2010-01-021-1/+1
| | | | | | | | Most of these tools properly build at WARNS=6, except for their K&R function declarations. Fix this, so we can bump WARNS as well. Notes: svn path=/head/; revision=201382
* Use NULL instead of 0 for the return value of fopen().Kevin Lo2007-09-211-2/+2
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=172261
* While revision 1.26 fixed the code to really subtract 3600 due toStefan Farfeleder2005-08-181-3/+1
| | | | | | | | daylight-saving, this was actually wrong because mktime() already does that for us. Notes: svn path=/head/; revision=149215
* Don't throw away the adjusted `runtimer' value.Stefan Farfeleder2005-08-051-3/+1
| | | | Notes: svn path=/head/; revision=148720
* Sort sections.Ruslan Ermilov2005-01-181-7/+7
| | | | Notes: svn path=/head/; revision=140420
* Explain the format of the at.allow and at.deny files in detail.Giorgos Keramidas2003-03-261-0/+5
| | | | | | | | PR: 35942 Submitted by: Gary W. Swearingen <swear@blarg.net> Notes: svn path=/head/; revision=112661
* The .Nm utility.Giorgos Keramidas2003-02-281-4/+9
| | | | Notes: svn path=/head/; revision=111683
* mdoc(7) police:Ruslan Ermilov2002-11-261-1/+3
| | | | | | | | | | | Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai] strings; using these strings is unsafe in troff mode, as they include a change in a font size. Approved by: re Notes: svn path=/head/; revision=107282
* mdoc(7) police: Removed redundant .Ns calls.Ruslan Ermilov2002-08-131-2/+2
| | | | Notes: svn path=/head/; revision=101828
* - Use MAXLOGNAME - 1 instead of UT_NAMESIZE.Robert Drehmel2002-07-221-11/+5
| | | | | | | - Do not pretend there is something like '/etc/utmp'. Notes: svn path=/head/; revision=100494
* mdoc(7) police: lint.Ruslan Ermilov2002-05-291-2/+3
| | | | Notes: svn path=/head/; revision=97493
* Add the SUSv3 -l option to at. This is an alias for atq. Allow job idsTim J. Robbins2002-05-163-6/+62
| | | | | | | | | | to be specified on the command line for which information should be reported. Submitted by: Joe Halpin <joe.halpin@attbi.com> Reviewed by: mike Notes: svn path=/head/; revision=96701