Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2007 22:39:30 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        "Olivier Regnier" <oregnier@oregnier.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Script with periodic.conf
Message-ID:  <d7195cff0707162039v2e35e69o30afae008d5a5388@mail.gmail.com>
In-Reply-To: <469BF81C.5020207@oregnier.net>
References:  <469BF81C.5020207@oregnier.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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

-- 
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7195cff0707162039v2e35e69o30afae008d5a5388>