Add a scheduled task for your website

Article

Use Cron Jobs to run a website task on a schedule recommended by your application.

  1. Log in to cPanel from your client area. If that link is unavailable, use the panel address in your welcome email. The cPanel dashboard appears after successful sign-in.

    The own demo domain in cPanel, outlined and marked 1.
  2. Open Cron Jobs from Tools. The scheduling page appears.

    Cron Jobs in the Tools page, outlined and marked 2.
  3. Read the page guidance. Check that you have the correct instructions for the task you want to schedule.

    The Cron Jobs guidance, outlined and marked 3.
  4. Choose the interval your application needs. Common Settings fills the Minute, Hour, Day, Month and Weekday fields for a preset schedule.

    The schedule controls for the demo task, outlined and marked 4.
  5. Enter the complete command supplied by your application or Faciotech support in Command. Use the path from those instructions.

    The Command field with its private value hidden, outlined and marked 5.
  6. Review the schedule and command against your application instructions.

    The schedule and private command reviewed before saving, outlined and marked 6.
  7. Choose Add New Cron Job. A confirmation or a new row in Current Cron Jobs shows that the schedule was saved; it does not show that the task has run.

    Add New Cron Job, outlined and marked 7.
  8. Check the new row in Current Cron Jobs. Its schedule should match the task you intended to add.

    The saved-task area after reopening Cron Jobs, with task details hidden, outlined and marked 8. This list confirms the saved schedule only.
  9. Check the task’s intended result after its scheduled time. That later result is the evidence that the scheduled command ran.

Allow a task to finish before scheduling its next run. A suitable interval depends on what the application does.

Video walkthrough

Sources

For help, contact Faciotech support.