Seem to be having trouble getting by script to run in Cron.
this is my script:
Code: Select all
#!/bin/bash mkdir /mnt/esatabackup mount /dev/ada3p1 /mnt/esatabackup rsync -azv --exclude-from '/mnt/pool1/Store/scripts/rsync/exclude.txt' --log-file=/mnt/pool1/Store/scripts/rsync/logs/rsync-`date "+%Y.%m.%d.%H.%M.%S."`txt /mnt/pool1/Store /mnt/esatabackup umount /mnt/esatabackup rm -r /mnt/esatabackup
my cron window looks like this:
Description: bi weekly store backup (Wed $ Sun @ 8pm)
Who : root
Week days: Sunday & Wednesday
I have checked the permissions on the script and they are all rwx...?
Cron is running, what am i missing? argh