Skip to main content

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:
code:
unison -batch -silent
i set run crontab under user run each night @ 1am:
code:
# m h  dom mon dow   command    0 1  *   *   *     /usr/bin/unison -batch -silent
...but seems fail each night... shown .unison/unison.log:
code:
fatal error: lost connection server  fatal error: lost connection server  fatal error: lost connection server
each "fatal error..." line corrasponds each night cron attempted run unison.

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

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support