Bonjour,

J'ai un pb avec script shell (voir ci-dessous) il s'appelle cron.sh
lorsque que je le lance � la main �� marche.
Lorque je le mets dand une cron il n'ex�cute que le premier tar!
Quel est le Pb ?
Franck

#!/bin/sh
tar -pvcf /var/sauvegarde/baseDeDonneesPhotos.tar /var/www/ePhoto2/web/Photos/
tar -pvcf /var/sauvegarde/baseDeDonneesPostGreSql.tar /var/lib/pgsql/data/base/ephoto3/
tar --exclude=/var/www/ePhoto2/web/Photos/* -pvcf 
/var/sauvegarde/appliEphoto.tar/var/www/ePhoto2/web/
tar -pvcf /var/sauvegarde/etc.tar /etc/
tar -pvcf /var/sauvegarde/jakarta.tar /usr/local/jakarta-tomcat-3.2.3/
tar -pvcf /var/sauvegarde/cron.tar /usr/bin/cron.sh

Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à