Cron jobs and resource abuse

This article explains how to detect if cron jobs or misconfigured scripts cause excessive consumption (CPU, disk, transfer) on an account, and what to check from WHM.

What is a cron job?

Scheduled tasks that the server executes at intervals (automatic backup, WordPress wp-cron, sending newsletters, etc.). Misconfigured or in a loop they can slow down the site or exhaust resources.

Symptoms of abuse or problematic cron

  • Very slow site at fixed times.
  • High CPU or disk without apparent web traffic.
  • Transfer that goes up without visits.
  • Mass mailing from scheduled scripts.
  • Client reports intermittent "Internal Server Error".

Step 1: Identify the account (WHM)

  1. Account Information → List Accounts — high disk and transfer.
  2. Show Accounts Over Quota.
  3. View Bandwidth Usage — traffic spikes.
  4. If there is notice from the provider, note indicated domain/user.

Step 2: Check cron in cPanel (via WHM)

  1. List Accounts → client's cPanel.
  2. Advanced → Cron Jobs.
  3. Check tasks with excessive frequency (every minute, every 5 min) or unknown commands.
  4. Temporarily disable suspicious cron (comment out the line or delete) and test performance.

WordPress and wp-cron

WordPress uses wp-cron.php, which triggers with visits. On sites with traffic it can generate load; on sites without traffic, delayed tasks that accumulate.

  • Check backup or newsletter plugins with their own cron.
  • Consider system cron that calls wp cron event run instead of web traffic (advanced; coordinate with developer).

Step 3: Other causes of consumption

Cause Where to look
Backups in public_html cPanel → Disk Usage / File Manager
Accumulated mail cPanel → Email Accounts / Disk Usage
Bots / traffic cPanel → Awstats / Metrics
Malware / spam See article Compromised account from WHM
Low package limit Package upgrade or cleanup

Limits from WHM

  • Modify Max Email per Hour — if abuse is sending mail.
  • Manage Account Suspension — contain while you investigate.
  • Upgrade/Downgrade an Account — more resources if use is legitimate.

Server statistics

In recent WHM: Metrics → CPU and Connection Usage or similar (if your plan shows it). In reseller the detail per process is usually limited; for deep analysis, open a support case.

If the site is still slow after reviewing cron and disk, open a case with domain, time of the problem and screenshots of Cron Jobs / Disk Usage. Consult via the online chat if you have doubts.

  • cron job whm
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Monitor disk space and bandwidth

This article explains how to monitor disk usage and transfer (bandwidth) for your clients'...

View resource usage by account

This article explains how to view the resource usage of each client account from WHM: disk,...

Monitor disk space and bandwidth

This article explains how to monitor disk and transfer in WHM: per account, per reseller plan,...

Review server statistics

This article explains how to access and read the server statistics available in WHM for...

Alerts and notifications in WHM

This article explains alerts and notifications in WHM: what notices you receive as a reseller,...