Trying to get a script file to run on OSX 10.8 via crontab.
I have tried several versions and no go. The script runs fine manually, however, no good using crontab.
Here is script:
Code:
#!/bin/sh
SHELL=/bin/sh
PATH=/usr/bin:/bin:/usr/sbin:/sbin
# Daily Data Backup
rsync -az -e ssh /Users/user1/Desktop/test root@10.0.1.16:/shares/backup/test
Code:
20 01 * * * /Users/user1/backup.sh
Any help would be appreciated.