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.

Cloudways Product avatar
Written by Cloudways Product
Updated over a week ago

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 From the Cloudways Platform

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

Important Notes

  • 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.

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?