This documentation is for the legacy Izenda 6 product. Documentation for the new Izenda 7 product can be found at https://www.izenda.com/docs/
The Izenda Reports Scheduler at it's core is a simple task that looks at the reports repository at their scheduled execution time. If the scheduled time is in the past, the scheduler sends the report and then updates the time based on the selected frequency.
There are two ways in which the scheduler works which you can select depending on your preference: the Task Based Scheduler, which is created through Windows Task Manager and the Service Based Scheduler which utilized Windows Services.
https://github.com/izenda/custom-scheduler
This scheduler requires the use of the Izenda Scheduler executable that is packaged with our reference implementation starter kit. You then need to add a scheduled task to your system that runs on an interval you specify. The task will execute the Izenda Scheduler to send a command to the response server (rs.aspx) that determines if any reports need to go out. You can specify the URL of your rs.aspx page as a command line parameter when setting up the task as will be discussed below.
Here are the steps to install the Izenda Scheduler. It is recommended that you perform these installation steps on the Web Server on which Izenda Reports is installed. The Windows' Scheduled Task Functionality described is only available on Windows Server operating systems.
Now that you have setup the scheduler, we will need to setup Izenda Reports. There are two ways to do this. We recommend using the InitializeReporting() method in your CustomAdHocConfig class to do this.
The MSI installer and service based scheduler is available at our GitHub scheduler repo https://github.com/izenda/custom-scheduler. After running the installer, there will be an executable in the directory you specified in the installer wizard along with a config file called IzendaService.exe.config. Here is how to configure the service-based scheduler:
The service-based scheduler is now ready to run and will call the requested URL each time the interval elapses from the time the service was started.
To use the Settings.aspx page:
To set the settings in the Global.asax:
Izenda.AdHoc.AdHocSettings.SmtpServer = "INSERT IP ADDRESS HERE";
Izenda.AdHoc.AdHocSettings.ScheduledReportsUrlFormatString = "http://Host/App/reportviewer.aspx?{0}";
Izenda.AdHoc.AdHocSettings.EmailFromAddress = "reports@somecompany.com";
Izenda.AdHoc.AdHocSettings.ShowScheduleControls = true;
To test the settings you just set, you will need to schedule a specific report, then use one of two methods to execute the scheduler.
Using the Command Line
Using the rs.aspx Page
Click here to learn about advanced scheduler topics such as saving scheduled exports to the server and more.
Last edited by Kym, 2017-01-25 11:34:33