Script with periodic.conf

illoai at illoai at
Tue Jul 17 03:39:32 UTC 2007

On 16/07/07, Olivier Regnier <oregnier at> wrote:
> Hi everoyone,
> I have a script called 110.doc-update-csup to keep my documentation
> up-to-date and he works well. In this script, i have these following
> variables:
> - weekly_doc_update_enable="YES"
> - weekly_doc_update_country="us"
> - weekly_doc_update_supfile="/usr/local/etc/cvsup/doc-supfile"
> - weekly_doc_update_logdir="/var/log/sys-update.log"
> I have the same variables in my periodic.conf file in /etc/ directory.
> If i move the file in /usr/local/etc/periodic/weekly/, cron execute the
> script two times but if he is in /etc/periodic/weekly/ there are not
> problems. What happened ? Do you give informations about this ?

Put the line:
in your /etc/periodic.conf or delete the
"/usr/X11R6/etc/periodic" from the line:
local_periodic="/usr/local/etc/periodic /usr/X11R6/etc/periodic"
in your /etc/defaults/periodic.conf


More information about the freebsd-questions mailing list