Skip to content

Automating ViewerFX from a schedule

ViewerFX for Crystal Reports does not include a built-in scheduler. To run reports unattended — for example, a nightly export or email — use Windows Task Scheduler to run ViewerFX from the command line.

Create a scheduled task in Windows Task Scheduler that runs ViewerFX with the headless command-line switches (Export= or Email=). ViewerFX runs without a window, performs the export or email, and exits.

For the full set of headless switches, the exit codes, and the licensing requirement, see Command line parameters.