Run Inbox2DB on a Server
Arclab® Inbox2DB
Server Mode /silent /notray
You can use the Windows Task Scheduler to setup Inbox2DB to run on a server without a user being logged in:
Open the Windows Task Scheduler by running "Taskschd.msc" from a command-prompt (or right-click and select "Execute" from the start-menu).
Add a new task to run the program e.g. all 30 minutes after the system was started. This means the system will run the program every 30 minutes to synchronize the data connection(s), even if no user is logged into the server.
Run Inbox2DB on a Server and execute all enabled data connections:
inbox2db.exe /silent /notray
Sample:
C:\Program Files (x86)\Arclab\Inbox2DB\inbox2db.exe /silent /notray
Run Inbox2DB on a Server and execute the specified data connection only:
inbox2db.exe /silent /notray /conid=id
Sample: C:\Program Files (x86)\Arclab\Inbox2DB\inbox2db.exe
inbox2db.exe /silent /conid=1
id = Connection ID (number shown when you click/edit the data connection)
warning Windows Task Scheduler "Security options":
- Make sure, that you select an user account for the task, which has full permissions (read and write) to the Inbox2DB data folder and also to the specified target database! (The Inbox2DB data folder location is shown in the Inbox2DB "Settings" > "Folders" > "Data Folder".)
- Check the option "Run whether the user is logged on or not"
- Don't check "Do not store password" if the Inbox2DB data folder or the target database is located on a network share.
- Check "Run with highest privileges" if the scheduled task is not working.
Please note that the task will not be executed if the user
is logged in and the program is already active.
This is to prevent a task
from being executed while the user makes changes using the program interface.
help Troubleshooting:
- If you are not sure which user account you should choose, use the user
account you normally use to log in to the computer!
(or which you have used to set up the data connection in Inbox2DB) - If the data directory or the target database is on an external network
drive (not on the same server/computer the task is running), specify the
path to the data directory and the target database as UNC e.g. \\hostname\share
when creating the data connection.
Please note that a mounted drive (with drive letter) is probably not available when using the "Task Scheduler".