How to Automate Your Website Background Tasks

Cron Jobs allow you to run scripts at specific intervals. This is essential for clearing caches, processing email queues, or generating periodic reports. Follow this manual to establish an automated task.

Step 1: Open the Automation Portal

Navigate to Cron Jobs from your User Dashboard and click the "New Task" button.

Step 2: Define Task Parameters

  1. Task Name: Enter a label for the task (e.g., WP Cron).
  2. Execution Type:
    • Shell: Executes a command directly on the server (Recommended for PHP scripts).
    • URL: Triggers a GET request to a specific web address.
  3. PHP Version: Select the version required for your script (e.g., 8.2).
[IMAGE_PLACE_HOLDER: Add User Cron Step - Screenshot of the task creation form with PHP selector.]

Step 3: Provide the Absolute Command Path

For Shell tasks, enter the full path.
Example: /usr/bin/php /www/wwwroot/example.com/cron.php.

MANUAL TIP: You can find your account's absolute Home Path in the "Hosting Info" widget on the Dashboard to help construct your command paths.