The net.dante.otrs.OTRSOutlookCalendar JAVA class takes from one to two parameters , depending on the functionality required. Examples are as follows:
net.dante.otrs.OTRSOutlookCalendar 60 - take one integer parameter which is the number of minutes to to subtract from the current time, in order to determine the date and time range of the tickets required.
net.dante.otrs.OTRSOutlookCalendar "2017-09-01 00:00:00" "2017-09-30 23:59:59" - The two parameters determines the date and time range of the search.
In a nutshell, the OTRSOutlookCalendar retrieves all of the tickets from the sde.otrs_incidents table that have changed in the last 60 minutes. For each record, the application creates a calendar appointment within the Microsoft Outlook Calendar called otrs_nm. Once completed, the application creates the special Yellow coloured appointment to signify the date and time the OTRSOutlookCalendar class ran
The class uses the standard AuditLog class to write log message to /tmp/otrs/Outlook-YYYYMMDD.log. The location and name of the log file is configurable from within the otrs.properties file
The class also uses the JAVA class MaintenanceTicket to store the information about the Maintenance Tickets retrieved.
MySQL Database Connection
...