I have successfully installed unison and incron. I get unison to run just fine. I'm doing this all logged in as root by the way, I figure that's how this will be executed when i'm not logged in. I'm using ssh, and have a passwordless key file. I can successfully call unison and have it sync just fine. I can call the shellscript and that works too. But Nothing happens when the incron is triggered and unison is called. I also modified my incrontab to run unison directly and that doesn't work. And I don't see any errors. any help would be greatly appreciated! I'm still getting use to linux.Unison default.prf# Unison preferences filesshargs = -i unibatch = truesilent = truelog = truelogfile = /var/log/unison.logroot = /var/wwwroot = ssh://ipaddress//var/www/path = testignore =  Name test/sub2/suberconfirmbigdel = falseIncrontab -e/var/www/test/ IN_ALL_EVENTS /root/au.shau.sh#!/bin/bashunison -batchI can run my shellscript just fine. I'm adding the batch flag again just for kicks. I know that incrontab is working, I see output in the /var/log/sys.logOct 18 19:38:27 inctrg-dev-01 incrond[682]: (root) CMD (/root/au.sh)
Unison and Incron shell script
ssh;unison;incron