Bug 201048 - atrun's instructions on crontab result in failure
Summary: atrun's instructions on crontab result in failure
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-22 18:27 UTC by teksimian
Modified: 2015-06-22 20:27 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description teksimian 2015-06-22 18:27:45 UTC
Man page contains;

     Root's crontab(5) file /etc/crontab has to contain the line

     */5     *       *       *       *       root    /usr/libexec/atrun


Crontab will try to execute command "root" and fail.
Comment 1 lgfbsd 2015-06-22 20:09:48 UTC
The instructions aren't wrong, but perhaps it would be more precise to change the description from "Root's crontab(5)" to "The system crontab(5)".
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-06-22 20:25:02 UTC
A commit references this bug:

Author: wblock
Date: Mon Jun 22 20:25:00 UTC 2015
New revision: 284709
URL: https://svnweb.freebsd.org/changeset/base/284709

Log:
  Call /etc/crontab the "system crontab", not "root's crontab".  While
  here, fix some other wording issues

  PR:		201048
  Submitted by:	teksimian@gmail.com
  MFC after:	1 week

Changes:
  head/libexec/atrun/atrun.man
Comment 3 Warren Block freebsd_committer freebsd_triage 2015-06-22 20:27:02 UTC
Hah, I actually changed it to that same wording before seeing the followup!  Yes, /etc/crontab is really the system crontab, and has that additional "who" parameter.

Thanks!