1. Log in to DirectAdmin.

  2. Navigate to Advanced Features > Cron Jobs.

  3. Enter:Command: The script or task you want to run (e.g., php /home/user/public_html/script.php).Timing: Set the frequency (e.g., daily, weekly).

  4. Command: The script or task you want to run (e.g., php /home/user/public_html/script.php).

  5. Timing: Set the frequency (e.g., daily, weekly).

  6. Click Add Cron Job.