Unable to see or delete maintenance mode schedules in Spectrum OneClick
search cancel

Unable to see or delete maintenance mode schedules in Spectrum OneClick

book

Article ID: 118566

calendar_today

Updated On:

Products

Spectrum

Issue/Introduction

There is a maintenance mode schedule currently applied to a device which we need to remove. However when we access the maintenance mode schedule dialog, the "current schedules" list is empty.

Environment

Any Spectrum version

Cause

The list of maintenance schedules created over time has grown to be quite large, consisting of up to or perhaps exceeding a hundred schedules. The "current schedules" portion of the dialog is not populating due to the total list of available schedules being too large. 

Resolution

It is recommended to delete unused schedules to reduce the total amount of available schedules. You can do this one of two ways. 

1. In OneClick, go to Locator > Schedules. Pull up all Schedules and delete ones you no longer need

2. Use the Command Line Interface (CLI) to find all of the schedule models and delete the ones that are no longer used or needed.

    a. Log into the SpectroSERVER system as the user that owns the Spectrum installation

    b. If on Windows, start a bash shell by running "bash -login"

    c. cd to the $SPECROOT/vnmh directory and enter the following command to start a CLI session:

./connect

    d. Enter the following command to produce a list of all of the current schedule models:

./show models | grep -i schedule

    c. The first column of data is the model handle of the model. To delete the schedule model, enter the following command where <MH> is the model handle of the schedule model:

./destroy model mh=<MH>