I have a script located at
I'm trying to execute this script via my root crontab. It isn't running. The script works if I create the crontab under my
Is there anyway to run this script as the root crontab? Here is the line I am using.
25 20 * * * sh /home/user/backup.sh
Contents of script:
tar -czvf /home/user/backup/backup.tar.gz /var/www/ mysqldump -u root -p password --all-databases > /home/user/backup/backup.sql rsync -avz /home/user/backup user@myserver:/home/user/