Knowledge Base
Categories: General Information
How Do I Create and Manage a Cron Job in Customer Portal
Cron jobs allow you to run scheduled commands automatically at specific times. They are commonly used for maintenance tasks and other unattended server processes.
A working knowledge of Linux commands is recommended before using cron jobs. Review any script with your developer or whoever manages your website's code before adding it as a cron job.
For more information about cron, see:
This article discusses the following topics.
How to Create a Cron Job
- Log in to your Customer Portal.
- Go to Websites from the left navigation menu.
- Click Manage Site next to the website you want to manage.

- Click the Advanced tab.
- Under Cron Jobs, click Manage.

- Click Add Cron.

- Select a frequency from the drop-down menu or choose a preset from Common Settings (for example, every 15 minutes or once a year).
- Enter the command in the Command field. For examples, see What Do I Put for the Cron Job Command?
- Click Add.

Your cron job is now scheduled. It will run your command at the frequency that you chose. To confirm that it ran, use View Last Run.
How to Edit, View the Last Run, and Delete a Cron Job
Now that you know how to add Cron Jobs in your customer portal, here's how you can edit, view the last run of, or delete them in your Cron Job Manager.
To edit:
- Locate the cron job you want to modify.
- Click the vertical ellipsis (⋮) menu.
- Select Edit.

- Make your changes.
- Click Update.

To view the last run:
- Locate the cron job.
- Click the vertical ellipsis (⋮) menu.
- Select View Last Run.

- Review the information displayed in the pop-up window.

To delete:
- Locate the cron job you want to remove.
- Click the vertical ellipsis (⋮) menu.
- Select Delete.

- Click Delete again to confirm.

Did you find this article helpful?