You must be logged in. // Make sure the Events Cache is enabled if ( application.ptCalendar.getEventCacheStatus() OR application.ptCalendar.getEventsManagementEventCacheStatus() ) { try { application.ptCalendar.calEventsCacheController.initCalendarCache(); writeOutput('
The Calendar Cache was Successfully Rebuilt!
'); } catch ( any ex ) { error_msg = 'An error has occurred while trying rebuild the calendar cache!'; writeOutput('
#error_msg# View Logs...
'); application.ptCalendar.log.addLogEntry(message = '#error_msg# (#DateTimeFormat(Now())#): #ex.message# ', CFCatch = ex); } } else { log_msg = 'The Calendar Cache is disabled. The Cache Rebuild did not run!'; writeOutput('
#log_msg#
'); application.ptCalendar.log.addLogEntry(message = '#log_msg# (#DateTimeFormat(Now())#)'); }