# Zactonz Cron Doctor: Installation

> See whether your cron jobs really run, and fix the ones that do not.

Page: https://developers.zactonz.com/cpanel-whm/cron-doctor/installation/

Complete documentation for this product: https://developers.zactonz.com/cpanel-whm/cron-doctor.md

Cron Doctor is installed once, as `root`, and is then available to every cPanel account on the server.

## Install

```bash
cd /root && curl -fsSL https://github.com/zactonz/cron-doctor/releases/latest/download/cron-doctor.tar.gz | tar -xz && bash cron-doctor/install.sh
```

That always fetches the current release, so the command does not change between versions.

If you would rather check the download before running it, every release ships a checksum beside it:

```bash
cd /root && curl -fsSLO https://github.com/zactonz/cron-doctor/releases/latest/download/cron-doctor.tar.gz && curl -fsSLO https://github.com/zactonz/cron-doctor/releases/latest/download/cron-doctor.tar.gz.sha256 && sha256sum -c cron-doctor.tar.gz.sha256 && tar -xzf cron-doctor.tar.gz && bash cron-doctor/install.sh
```

Past versions are listed under [Releases](https://github.com/zactonz/cron-doctor/releases).

The installer copies the plugin into cPanel's Jupiter theme directory, registers it with cPanel and restarts the interface. Log in to any cPanel account and look for **Cron Doctor** under **Advanced**. If the icon does not appear straight away, log out and back in so the theme cache refreshes.

To install from a clone instead:

```bash
git clone https://github.com/zactonz/cron-doctor.git && cd cron-doctor && bash install.sh
```

## Update

Run the same install command again; it always fetches the current release. It replaces the plugin files and removes any left by the previous version.

Monitored jobs, recorded runs and settings live in each account's home directory and are untouched by an update. The small runner kept in each home directory is refreshed automatically the next time that account opens Cron Doctor, so no crontab has to change.

## Uninstall

From the extracted package directory:

```bash
bash uninstall.sh
```

This removes the plugin and its cPanel registration.

**It does not change any crontab.** Jobs that were being monitored keep running, because the runner lives in each account's home directory rather than in the plugin directory. If you want the original crontab lines back, use **Stop monitoring** on each job before uninstalling.

## Feature Manager

The plugin registers with cPanel's Feature Manager, so resellers can switch it off for particular packages in the usual way.
