FileToDB - databases import files »

Download FileToDB Free Trial »     Buy FileToDB Now »

How to execute command line and scheduled

When you save session

files to databases - save session

Click "Save & Make Batch File"

files to databases - create batch file

Click "OK", you'll get batch file created.

.bat file for Windows command line, or .sh file for Linux / macOS.

And you can run it in command line.

In Windows:

C:
cd "C:\Users\pan\AppData\Local\Programs\FileToDB\"
FileToDB session="C:\Users\pan\Documents\FileToDB_1to1.ldr" logfile="C:\Users\pan\Documents\FileToDB_1to1.log"

	

In Linux:

/usr/share/FileToDB/FileToDBCmd session="/home/pan/Documents/FileToDB_1to1.ldr" logfile="/home/pan/Documents/FileToDB_1to1.log"

	

In macOS:

/Applications/FileToDB.app/Contents/MacOS/FileToDB session="/Users/pan/Documents/FileToDB_1to1.ldr" logfile="/Users/pan/Documents/FileToDB_1to1.log"

	

Or click "Create & Schedule Task", you can run this batch file at a specific time and/or at a certain time every day. See this for detail: Schedule Task.