Hi,
I am very new to Toucan-Scripting and I can´t figure out, why it is not working.
In detail I try perform several jobs with scripting. The script shall be started from a bat-file.
Everything works fine, if my script looks like this:
--Here starts the LUA-Script sync([[c:\\temp\\quelle]], [[c:\\temp\\@dayname@]], [[Mirror]]) --...here there are many sync-jobs --Here ends the LUA-Script
But when I want to add more options, my script wont run at all - I am about do despair!
Here is the job, followed by one of my tries for a LUA-script which doesn´t run:
[sync-1] Source=c:\\temp\\quelle Dest=c:\\temp\\@dayname@ Function=Mirror CheckSize=1 CheckTime=0 CheckShort=1 CheckFull=0 TimeStamps=1 Attributes=0 IgnoreReadOnly=1 Recycle=0 PreviewChanges=0 Rules= Type=Sync
--Here starts the LUA-Script sync([[c:\\temp\\quelle]], [[c:\\temp\\@dayname@]], [[Mirror]], checks = "1, 0, 1, 0" , options = " 1, 0, 1, 0, 0, 0") --...here there are many sync-jobs --Here ends the LUA-Script
Thanx in advance for any help.
have a couple of options. As you seem to have your jobs already saved you could just do
And that would work fine. Otherwise the way you specify your options isn't correct, it should be: