OTOS can be run from its GUI or from the command line. The latter is most
useful for scheduled tasks.
Three parameters are required: user name, profile number and export/import.
The basic syntax is:
d:\pantheon\PANTHEON55_SQL.exe /INI="d:\pantheon\pantheon.ini" /L=AD /OTOS=001 /IE=E
/L is for specifying a user name. Example: /L=AD:MyPass
/OTOS is for specifying an OTOS profile number. Example: /OTOS=002
/IE is for specifying export (E) or import (I) or export, then import (EI).
Slave Parameters
All three parameters must be specified when running OTOS in slave mode. For example:
c:\datalab\Pantheon55.exe /L=AD /OTOS=003 /IE=E
This wil run OTOS with the profile 003.
Master Parameters
Additional parameters are required when running OTOS in master mode, because a
waiting time must be taken into consideration. That is why OTOS in master mode must be
run twice. First to export data, then to import data. This is done with the /IE
parameter.
OTOS master must be run twice in each synchronization cycle, first for
the export, then for the import.
This example export data from the profile 003.
C:\DATALAB\OTOS.EXE 003 /E
This example imports data from the profile 003.
C:\DATALAB\OTOS.EXE 003 /I
A sample scheduled tasks could be defined like this:
AT 22:00 /INTERACTIVE /EVERY:M,T,W,Th,F,S c:\Datalab\Pantheon55.exe /L=AD /OTOS=001 /IE=E
AT 23:00 /INTERACTIVE /EVERY:M,T,W,Th,F,S c:\Datalab\Pantheon55.exe /L=AD /OTOS=001 /IE=I
/D (debug mode)
Errors in the synchronization process can be notoriously difficult to
find because of the many factors involved (connection, e-mail server,
database server, paths, other settings, etc.).
For this purpose the debug mode can be activated with the /D parameter as
the last command line parameter.
With this parameter, OTOS doesn't delete transferred data after sending,
but saves it in the temporary folder in a file named like:
TRANSFER-TTDD-MM-YYYY HH-MM-SS.ZIP
where
- TT - type: ME, MI, SE, or SI (master/slave, import/export)
- DD-MM-YYYY - date and time when the file was created
- HH-MM-SS - time when the file was created
 |
In debug mode, all transferred files are stored on the hard
drive, thus quickly using free space. Make sure you don't run out of
free drive space.
|