I have an issue with rsync task in FreeNAS.
Task is setup with stuff added in Extra options:
So it will generate logfile with date added to filename every time it runs.
Everything runs perfect if I select task from GUI and click Run Now button, but when the task run automatically (every 6hrs), task fails with following error sent as email.
Followed by:
So, something is wrong here, is there any reason why the whole command is not executed? What is the difference between manually running the task, and automatically?
Thanks in advace
Task is setup with stuff added in Extra options:
Code:
--log-file=/skripte/log/rSync/logrsync.log.`date +%d%m%Y%H%M`
So it will generate logfile with date added to filename every time it runs.
Everything runs perfect if I select task from GUI and click Run Now button, but when the task run automatically (every 6hrs), task fails with following error sent as email.
- Cron <root@AtomicStorage> PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin" /usr/bin/lockf -s -t 0 -k "/mnt/MasterZFSv2/StorageAFP" /usr/local/bin/rsync -r -t -p --delete-delay --delay-updates --log-file=/skripte/log/rSync/logrsync.log.`date +
Followed by:
Code:
Syntax error: EOF in backquote substitution Syntax error: Error in command substitution
So, something is wrong here, is there any reason why the whole command is not executed? What is the difference between manually running the task, and automatically?
Thanks in advace