Command line options

DTM Schema Reporter Online Help supports following command line switches:

-r - if project file was configured, run the report at program startup

-q - quit application after project execution

-c - console mode.

-@ - use custom connection profile. Please note that you can use "Export One" button at the connect window to save connection profile to disk file.

The console mode is a mode when the program doesn't open any dialogs and doesn't need any interference from the user. A project file for the console mode must be prepared and tested beforehand. Also, the program will use the recent database connection in console mode. This mode enables you to integrate the product with the Windows task scheduler as well as to execute projects prepared beforehand according to the schedule.

For example, in order to execute project file 'schema2db.rpr' today at 11.00, use the following command line:

at 11:00 "sr.exe -c -@d:\acc.conprof schema2db.rpr"