I use and love FFS. I try to automate a file syncronization on an UBUNTU 11.10
:
in root-user crontab i put the line:
...
01 1 * * 1-6 /usr/bin/FreeFileSync /root/DATI-01.ffs_batch
...
The configuratrion file (DATI-01.ffs_batch) is:
<?xml version="1.0" encoding="UTF-8"?>
<FreeFileSync XmlType="BATCH">
<MainConfig>
<Comparison>
<Variant>ByTimeAndSize</Variant>
<HandleSymlinks>Ignore</HandleSymlinks>
</Comparison>
<SyncConfig>
<Variant>Custom</Variant>
<CustomDirections>
<LeftOnly>right</LeftOnly>
<RightOnly>none</RightOnly>
<LeftNewer>right</LeftNewer>
<RightNewer>none</RightNewer>
<Different>none</Different>
<Conflict>none</Conflict>
</CustomDirections>
<DeletionPolicy>MoveToCustomDirectory</DeletionPolicy>
<CustomDeletionFolder>/var/space/versioni</CustomDeletionFolder>
</SyncConfig>
<GlobalFilter>
<Include>*</Include>
<Exclude>/.Trash-*/
/.recycle/</Exclude>
<TimeSpan>0</TimeSpan>
<UnitTimeSpan>Inactive</UnitTimeSpan>
<SizeMin>0</SizeMin>
<UnitSizeMin>Inactive</UnitSizeMin>
<SizeMax>0</SizeMax>
<UnitSizeMax>Inactive</UnitSizeMax>
</GlobalFilter>
<FolderPairs>
<Pair>
<Left>/var/SERVER/Ex-disco-E</Left>
<Right>/var/space/copie/DATI/Ex-disco-E</Right>
<LocalFilter>
<Include>*</Include>
<Exclude/>
<TimeSpan>0</TimeSpan>
<UnitTimeSpan>Inactive</UnitTimeSpan>
<SizeMin>0</SizeMin>
<UnitSizeMin>Inactive</UnitSizeMin>
<SizeMax>0</SizeMax>
<UnitSizeMax>Inactive</UnitSizeMax>
</LocalFilter>
</Pair>
</FolderPairs>
<ExecuteWhenFinished/>
</MainConfig>
<BatchConfig>
<Silent>true</Silent>
<ShowProgress>false</ShowProgress>
<LogfileDirectory>/var/log/FreeFileSync </LogfileDirectory>
<LogfileCountMax>365</LogfileCountMax>
<HandleError>Ignore</HandleError>
</BatchConfig>
</FreeFileSync>
now: if ilaunch the command line :
...
/usr/bin/FreeFileSync /root/DATI-01.ffs_batch
...
from a terminal (putty) it starts perfectly working, BUT
the night job doesn't do anithing...
someone can help me?