why doesn't cron complete script
- by brickinthewall
i have a backup script (rsync via ssh) which is run by cron (configured in /etc/crontab)
0 2 * * * root /bin/bash --login /opt/aebackup/sshbackup.sh
if i run it as logged in root like following it runs prefectly fine.
root@server:~# /opt/aebackup/sshbackup.sh
if i run it via cron it would just stop after a while (not always on the same task in the script.. it seems pretty random, like the process is killed at some point randomly)
does anyone have an idea why my cron would do that? thanks for anything.. i'm desperate!