Date: Tue, 17 Jul 2007 08:38:07 +0200 From: Olivier Regnier <oregnier@oregnier.net> To: "illoai@gmail.com" <illoai@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Script with periodic.conf Message-ID: <469C63CF.3030507@oregnier.net> In-Reply-To: <d7195cff0707162039v2e35e69o30afae008d5a5388@mail.gmail.com> References: <469BF81C.5020207@oregnier.net> <d7195cff0707162039v2e35e69o30afae008d5a5388@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
illoai@gmail.com a écrit : > On 16/07/07, Olivier Regnier <oregnier@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 :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?469C63CF.3030507>