Amanda-Users

Re: [OT] cron.d entries for Amanda

2004-11-16 08:40:05
Subject: Re: [OT] cron.d entries for Amanda
From: "Alexey I. Froloff" <raorn AT immo DOT ru>
To: amanda-users AT amanda DOT org
Date: Tue, 16 Nov 2004 15:48:53 +0300
* 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.

> /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?

-- 
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

Attachment: pgph8aHHiURe1.pgp
Description: PGP signature

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