[EMAIL PROTECTED] a écrit :
On 16/07/07, Olivier Regnier <[EMAIL PROTECTED]> 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 :)
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to