Script with periodic.conf

Olivier Regnier oregnier at oregnier.net
Tue Jul 17 06:38:10 UTC 2007


illoai at gmail.com a écrit :
> On 16/07/07, Olivier Regnier <oregnier at oregnier.net> 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:
> local_periodic="/usr/local/etc/periodic"
> 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
>
Hi, thank you very much, it's perfect. Bye :)


More information about the freebsd-questions mailing list