FreeBSD Bugzilla – Attachment 13344 Details for
Bug 25456
[PATCH] root-not-found-cron-error is slightly out of date.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.62 KB, created by
mwm
on 2001-02-28 15:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mwm
Created:
2001-02-28 15:40:01 UTC
Size:
1.62 KB
patch
obsolete
>--- book.sgml Sat Feb 24 23:21:21 2001 >+++ /tmp/book.sgml Wed Feb 28 09:25:30 2001 >@@ -5246,13 +5246,22 @@ > which &man.crontab.1; updates (the &man.crontab.5; manual > page explains the differences in more detail).</para> > >- <para>If this is what you did, you should delete the >- <filename>/var/cron/tabs/root</filename>, since it will >- simply be a copy of <filename>/etc/crontab</filename>, >- in the wrong format. Next time, when you edit >- <filename>/etc/crontab</filename>, you should not do >- anything to inform &man.cron.8; of the changes, since it >- will notice them automatically.</para> >+ <para>If this is what you did, the extra crontab is simply a >+ copy of <filename>/etc/crontab</filename> in the wrong >+ format it. Delete it with the command:</para> >+ >+ <screen>&prompt.root; <userintput>crontab <option>-r</option></userinput></screen> >+ >+ <para>Next time, when you edit >+ <filename>/etc/crontab</filename>, you should not do >+ anything to inform &man.cron.8; of the changes, since it >+ will notice them automatically.</para> >+ >+ <para>If you want something to be run once per day, week, or >+ month, it's probably better to add shell scripts >+ <filename>/usr/local/etc/periodic</filename>, and let the >+ &man.periodic.8; command run from the system cron schedule >+ it with the other periodic system tasks.</para> > > <para>The actual reason for the error is that the system > crontab has an extra field, specifying which user to run the
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25456
: 13344