In this KB
- Adding a new cron job
- Configuring the cron job
In this guide, we will explain how to schedule a cron job for your application(s) from the Cloudways Platform.
Step 1: Go to Application Management
Log into the Cloudways Platform with your credentials. Click on Applications n the top menu bar and select the application you want to set the cron for from the list.
Step 2: Add a New Cron Job
Go to the Cron Job Management section and click on the Add New Cron Job button.
Step 3: Configure Cron Job
First, you need to decide how often the cron job will run. We have a drop down with some predefined values to select or you can set your own.
You can then set the type of script that you will be running (PHP, curl, or wget) and the command to execute. Click on submit to save.
Your cron job will be listed under the Basic tab once done.
If you want to use command line switches or other advanced cron settings, you can switch to the advanced editor under the Advanced tab.
- Only account owners or team members with full privileges can edit cron jobs via the Advanced tab.
- On the basic tab, we do not allow any switches for wget and curl. Please utilize the Advanced tab to apply switches.