Hi everyone, I have one question:
I would like to execute a shell script using crond per five minutes. my crontab file is like this
*/5 * * * * /root/cron_shell.sh > /dev/null
shell script is like this
date > /root/share/test
/usr/bin/rsync -aze ssh --delete /root/share firstname.lastname@example.org
I got correct result for file test(for every five minutes, it is updated), but rsync could not be executed. However, I execute cron_shell.sh manually, it is OK. Thank you all for reading this question.