Thread: unison run from cron fails
hey all,
have unison set (using .unison/default.prf config file) sync directories on work computer home computer.
if run unison commandline works expected:
i set run crontab under user run each night @ 1am:code:unison -batch -silent
...but seems fail each night... shown .unison/unison.log:code:# m h dom mon dow command 0 1 * * * /usr/bin/unison -batch -silent
each "fatal error..." line corrasponds each night cron attempted run unison.code:fatal error: lost connection server fatal error: lost connection server fatal error: lost connection server
have idea going on here?
hi, try redirecting output log file:
code:0 1 * * * /usr/bin/unison -batch -silent > /home/you/unisoncron.log 2>&1
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] unison run from cron fails
Ubuntu
Comments
Post a Comment