Automatically import documents with Task Scheduler
Firstly perform the operations specified in this chapter.
Argument to launch the Automatic import.
Argument |
Description |
command=DocumentImportAuto(cFolder) |
cFolder contains the full path of the Folder in which are stored the files to be imported |
The type of the file must be csv delimited by semi-columns, and it must follow the format specified here
Example:
*/ This will import all the files contained in the folder C:\temp. The target of the operation will be the Fiscal Year 2017, for the Folder 25, in the database in C:\WinBIZ Data. The license used in the operation is the one contained in the WinBIZ.ini stored in C:\WinBIZ
config=C:\WinBIZ\WinBIZ.ini dbfolder=C:\WinBIZ_Data company=25 year=2017 command=DOCUMENTIMPORTAUTO(C:\temp)
*/ This will import all the files contained in the folder C:\WinBIZ Data\Files to import. The target of the operation will be the Fiscal Year 2017, for the Folder 25, in the database in C:\WinBIZ Data. The license used in the operation is the one contained in the WinBIZ.ini stored in C:\WinBIZ
config=C:\WinBIZ\WinBIZ.ini "dbfolder=C:\WinBIZ Data" company=25 year=2017 "command=DOCUMENTIMPORTAUTO('C:\WinBIZ Data\')"