Amanda-Users

Re: [OT] cron.d entries for Amanda

2004-11-16 09:10:30
Subject: Re: [OT] cron.d entries for Amanda
From: "Gavin Henry" <ghenry AT suretecsystems DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 16 Nov 2004 13:57:51 -0000 (GMT)
Alexey I. Froloff said:
> * Gavin Henry <ghenry@> [041116 15:35]:
>> /bin/sh: line 1: /usr/bin/find /u01/app/oracle/archdest2/* -mtime +7
>> -exec
>> rm{}\;:
>> No such file or directory
>
> Er... I'm not sure this will ever work.  find() accepts one real
> (not shell pattrn) argument for PATH.  Furthermore, you may want
> to use something like this:
>
> find /u01/app/oracle/archdest2 -mindepth 2 -mtime +7 -delete
>
> mindepth is needed when you really want to search subdirecrories
> inside /u01/app/oracle/archdest2 only.

OK, I will check this out, thanks.

>
>> /bin/sh: line 1: /opt/suretec/sbin/amcheck -m learnit-dbserv-db-warm: No
>> such file
>> or directory
>
> This error message is very similar to prevoius.  Are you sure
> you're not quoted this line in crontab?

I think I might have tried "" marks, I don't think they are needed though.

>
> --
> Regards, Alexey I. Froloff
> AIF5-RIPN, AIF5-RIPE
> -------------------------------------------
>   Inform-Mobil, Ltd. System Administrator
>        http://www.inform-mobil.ru/
> Tel: +7(095)504-4709, Fax: +7(095)513-1006
>


<Prev in Thread] Current Thread [Next in Thread>