Fill the Server: 80% off your first 4 monthly invoices, monthly billing. Ends Nov 30, 2026. 25 spots in this batch.FILL25
Fill the Server, annual: about 29.63% off your first annual invoice. Ends Nov 30, 2026.FILL25Y
Fill the Server, 2 year term: about 15.69% off your first biennial invoice. Ends Nov 30, 2026.FILL25B
Fill the Server, 3 year term: about 11.11% off your first triennial invoice. Ends Nov 30, 2026.FILL25T
80% off your first 3 months, monthly billing. Ends Dec 25, 2027.3MONTHS80
50% off your first annual Shared term. Ends Dec 31, 2027.50SHARED
Shared Starter, 3 year term: C$105.84 total.MOOSE294
20% off your first 3 monthly VPS invoices. Ends Dec 31, 2027.20VPS3
25% off your first annual base VPS term.25VPS

← All guides

cPanel

cPanel cron jobs: how to schedule recurring tasks

Published August 2026 · 7 min read

A cron job runs a command on a schedule without someone opening the website. That makes it useful for queues, cleanup, reports, application schedulers, imports, and backups—but also capable of repeating a bad command every minute.

Use absolute paths and test the command manually

Cron has a smaller environment than an interactive shell. Use explicit executable and file paths where practical, and confirm the command completes successfully under the account before scheduling it.

Choose a frequency the job can finish inside

A job scheduled every five minutes should not normally take ten minutes to run. Overlapping copies can multiply CPU, memory, I/O, database connections, and external API calls.

Make failures observable

Capture useful output and errors during initial deployment so failures remain visible. Once a job is stable, route logs or notifications somewhere that will still surface failures.

Add locking when duplicate execution is unsafe

Imports, billing tasks, queue workers, and other state-changing jobs may need a lock so a second run cannot start before the first finishes. The application should define that locking behaviour explicitly.

Next step

Use cPanel cron jobs for recurring commands with the right executable path, working assumptions, frequency, output handling, locking, and resource awareness.

See hosting with cron access

Keep reading

Related guides.

WordPress hosting checklist: what to verify before launch

A pre-launch WordPress checklist covering HTTPS, backups, updates, email delivery, DNS, security, performance, and recovery.

Read the guide

cPanel for beginners: the first things to learn

A beginner cPanel guide covering files, domains, email, databases, SSL, PHP, backups, resource usage, cron jobs, and which settings you can ignore at first.

Read the guide

cPanel vs website builder for beginners: they solve different problems

cPanel and website builders are often compared, but one manages hosting while the other creates pages. Learn how the tools fit together and which jobs each one handles.

Read the guide

More cpanel guides

We will handle the move. You check it first.

Your current site stays online until your new one is ready. You approve the copy first, and if anything is not right we switch you back right away. The price you pick is the price you renew at.

Start my free moveSee plans and prices
See pricesFree move