Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Web Help Desk (WHD) > Schedule Web Help Desk for macOS restart to clear the JVM Heap memory

Schedule Web Help Desk for macOS restart to clear the JVM Heap memory

Table of contents
Created by Interspire Import, last modified by Steve.Hawkins on Oct 05, 2017

Views: 21 Votes: 0 Revisions: 10


This article describes how to schedule a nightly WHD for macOS restart to clear the JVM Heap memory.


WHD for macOS


Load the provided .plist file and follow the steps below. This file is configured to restart Web Help Desk each night at 1AM. You can change the schedule by editing the StartCalendarInterval property in the plist. See your macOS documentation for details.

The launch daemon listed in the following steps works only with the standard Tomcat deployment of Web Help Desk. WebObjects Monitor deployments use the Monitor tool to configure automatic restarts. When scheduling with the Monitor, make sure to clear Is Graceful to force the instances to restart.

  1. Log in as root or admin
  2. Copy the /Library/WebHelpDesk/bin/com.macsdesign.WebHelpDeskAutoRestart.plist file into your /Library/LaunchDaemons folder.
  3. Execute:
    launchctl load com.macsdesign.WebHelpDeskAutoRestart.plist
  4. Verify that the .plist file loaded successfully.
    launchctl list

  5. Unload the LaunchDaemon (if required).
    launchctl unload com.macsdesign.WebHelpDeskAutoRestart.plist

Last modified
11:19, 5 Oct 2017