Submit a ticketCall us

Systems Monitoring for Dummies
Our new eBook will teach you the fundamentals and help you create monitors and alerts that are effective, meaningful, and actionable. Monitoring is more than a checkbox on your to-do list. This free eBook will give you practical advice to help you succeed in all aspects of monitoring – discovery, alerting, remediation, and troubleshooting. Don’t miss out on this indispensable resource for newbies, experienced IT pros, and everyone in between. 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: 27 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