Cron jobs are configured per service if you read the code (it is made
for, yaim is more a doc than a tool) you'll see.
You can add what you want by using the folder
/opt/lcg/yaim/functions/local.
Lp
On 2 mars 05, at 12:43, Alessandra Forti // EOJ wrote:
> Hi,
>
> isn't there in YAIM a function to configure cron jobs where it is
> possible to add whatever cron job at installation time?
>
> If it is not there it would be very useful to have it.
>
> cheers
> alessandra
>
> On Wed, 2 Mar 2005, Oliver KEEBLE wrote:
>
>> The next release of yaim will use '-y' on apt-get commands by default.
>>
>> In this case though, I would reiterate Fabien's advice, that the best
>> cron job is
>>
>> apt-get update && apt-get -y install lcg-CA
>>
>> I'll update the docs to reflect this.
>>
>> Oliver.
>>
>>
>> Oliver Keeble Information Technology Department
>> [log in to unmask] CERN
>> +41 22 76 72360 CH-1211 Geneva 23
>>
>>
>> Vangelis Koukis wrote:
>>> On Wed, Mar 02, 2005 at 09:55:44am +0100, Gian Luca Volpato wrote:
>>>
>>>> On Tuesday 01 March 2005 21:15, you wrote:
>>>>
>>>>> In this case LCG has in the install guide
>>>>>
>>>>> http://grid-deployment.web.cern.ch/grid-deployment/documentation/
>>>>> LCG2-Manua
>>>>> l-Install/
>>>>>
>>>>> <quote>
>>>>>
>>>>>> /opt/lcg/yaim/scripts/install_node <site-configuration-file>
>>>>>> lcg-CA
>>>>>
>>>>> In order to keep the CA configuration up-to-date on your node we
>>>>> strongly
>>>>> recommend Site Administrators to program a periodic upgrade
>>>>> procedure
>>>>> of
>>>>> the CA on the installed node (e.g. running the above command via a
>>>>> daily
>>>>> cron job).
>>>>> </quote>
>>>>
>>>>
>>>> This script alone fails to perform the CA upgrade because it aborts
>>>> after
>>>> waiting for an input from the Site Admin.
>>>> Here is part of the output of the script:
>>>> ---------
>>>> Need to get 135kB of archives.
>>>> After unpacking 3184B of additional disk space will be used.
>>>> Do you want to continue? [Y/n] Abort.
>>>> ---------
>>>>
>>>> Is it possible to modify the script so that it does not require the
>>>> user
>>>> to
>>>> type 'Y' in order to complete its tasks?
>>>>
>>>> /Gian Luca
>>>
>>>
>>> This script uses apt-get upgrade internally. It needs to be modified
>>> to pass the '-y' switch to apt-get, so that it asks no questions and
>>> just assumes an answer of 'Yes' to everything.
>>>
>>
>
> --
> ********************************************
> * Dr Alessandra Forti *
> * Technical Coordinator - NorthGrid Tier2 *
> * http://www.hep.man.ac.uk/u/aforti *
> ********************************************
>
--
Louis Poncet
Where: Bat28-R-003 CERN
CH-1211 Geneve 23
Mail : [log in to unmask]
Phone: +41(0)227.674.231
LAL / IN2P3 / CNRS / CERN
Problem >> RTFM then google it !
|