Skip to main content
How to Create Cron Jobs on Cloudways

In this guide, we will explain how to schedule a cron job for your application(s) from the Cloudways Platform.

Usama Zafar avatar
Written by Usama Zafar
Updated today

Table of Contents

In this guide, we will explain how to schedule a cron job for your application(s) from the Cloudways Platform.

How to Create Cron Jobs For Cloudways Flexible

Step 1: Go to Application Management

Log into the Cloudways Platform with your credentials. Select Applications from the top menu bar and select the application you want to set the cron for from the list.

Classic Interface

New Interface

Step 2: Add a New Cron Job

Go to the Cron Job Management section and click on the Add New Cron Job button.

Classic Interface

New Interface

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.

Classic Interface

New Interface

Your cron job will be listed under the Basic tab once done.

Classic Interface

New Interface

If you want to use command-line switches or other advanced cron settings, you can switch to the advanced editor under the Advanced tab.

Classic Interface

New Interface

How to Create Cron Jobs For Cloudways Autonomous

Step 1: Navigating to Cron Job

Log into the Cloudways Platform with your credentials and head over to the Applications Listing page.

Once you are inside Application Listing page, click the application you want add a new Cron Job for:

Step 2: Add a New Cron Job

Now navigate to Workflow/Tools tab and Select "Cron Jobs Management"

Click "Add Cron Job" to add a new Cron Job:

Step 3: Configure Cron Job

First, you need to decide how often the cron job will run and the type of command. 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 or CURL) and the command to execute. Click on "Add Cron Job" to submit.

This will add your Cron Job which can be deleted or updated later as well

Important Notes:

  • Only account owners or team members with full privileges can edit cron jobs via the Advanced tab.

  • On the basic tab for Cloudways Flexible, we do not allow any switches for wget and curl. Please utilize the Advanced tab to apply switches.

That’s it! We hope this article was helpful. If you need any help, then feel free to search your query on Cloudways Support Center or contact us via chat (Need a Hand > Send us a Message). Alternatively, you can also create a support ticket.

Did this answer your question?