Afternoon All,<br>I've writen a simple script to dump a database and would like it to run as a cron job. How should I set the script permisisons?<br><br>dbbackup.sh contains:<br><br>NOW=$(date +"%d-%b-%y"_"%l:%M")<br>
FILENAME="moodle_db_backup_$NOW.sql"<br>mysqldump -uuser -ppassword databasename > /dbbck/$FILENAME<br><br>The cron entry is<br><br>30 20 * * * /usr/local/script/dbbackup.sh<br><br>I can run the script from for command line OK with the expected output. However wathcing /var/log/messages I see the cron job run but no output file...<br>
<br>Cheers,<br><br>Nathan.<br><br>