Hi all.
I've probably done something silly here, or completely wrong, but hey,
that happens.
I have a cron job setup to run a script (below) that runs fine if i have
only one line in it. As soon as i put more than one line in it fails to
run, not returning any error at all in the email.
anyways, heres what i'm trying to do. just run some rsync jobs for
backup. If someone could tall me where i've stuffed up i'd be greatfull
#! /bin/sh
echo "Hello World!"
/usr/bin/rsync --delete -ar --stats /backup/w1/it1/d2 /backup/w2/it1/
/usr/bin/rsync --delete -ar --stats /backup/w1/it2/d2 /backup/w2/it2/
/usr/bin/rsync --delete -ar --stats /backup/w1/it3/d2 /backup/w2/it3/
/usr/bin/rsync --delete -ar --stats /backup/w1/it4/d2 /backup/w2/it4/
/usr/bin/rsync --delete -ar --stats /backup/w1/it6/d2 /backup/w2/it6/
/usr/bin/rsync --delete -ar --stats /backup/w1/it20/d2 /backup/w2/it20/
/usr/bin/rsync --delete -ar --stats /backup/w1/it8/d2 /backup/w2/it8/
thanks
Shaun
To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be
removed.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/