why doesn't cron complete script
Posted
by
brickinthewall
on Ask Ubuntu
See other posts from Ask Ubuntu
or by brickinthewall
Published on 2011-06-22T14:42:02Z
Indexed on
2011/06/22
16:30 UTC
Read the original article
Hit count: 224
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!
© Ask Ubuntu or respective owner