Perform the following steps to enable relative date scheduling:
- Navigate to the server/pentaho-server/tomcat/webapps/pentaho/WEB-INF/classes directory and open the classic-engine.properties file with any text editor.
-
Add the following parameters to the classic-engine.properties file:
Parameter Description org.pentaho.reporting.engine.classic.core.scheduler.startDateRangeParamName The report parameter for the start of the date range. org.pentaho.reporting.engine.classic.core.scheduler.endDateRangeParamName The report parameter for the end of the date range. org.pentaho.reporting.engine.classic.core.scheduler.fiscalYearStart The report parameter for the first day of the fiscal year (Default is January 1). - Save and close the classic-engine.properties file.
- Restart the Pentaho Server.
Relative date scheduling is enabled.