Cron Jobs: Automating Your Server
A Cron Job is a scheduled task that the server runs at specific intervals. It is the "automated assistant" of your hosting account.
Common Use Cases:
-
Backups: Automatically zipping your
public_htmlfolder every Sunday at 2:00 AM. -
Database Maintenance: Running an optimization script once a month.
-
Email Queues: Sending out batch newsletters in small increments to avoid spam filters.
Setting a Cron Job:
-
Go to Advanced > Cron Jobs.
-
Select a common setting (e.g., "Once Per Day").
-
Enter the command to run (e.g.,
php /home/username/public_html/script.php). -
Note: To avoid server strain, we recommend not running cron jobs more frequently than every 15 minutes on shared hosting plans.
The Technical Toolbox
| Tool | Best For... | Expertise Level |
| WP-CLI | Bulk WordPress Management | Intermediate |
| phpMyAdmin | Visual Database Editing | Beginner-Intermediate |
| Terminal / SSH | Advanced File & App Control | Advanced |
| Git Version Control | Tracking code changes & Deployment | Advanced |