A heartbeat helps track your CROM jobs to make sure they run when they are expected to. Adding a heartbeat will allow you to keep tabs on your website and allow you to know if it is slow or unavailable. You can follow the steps below to set up a new heartbeat.
The number of heartbeats you will be able to utilize will vary based on your current subscription plan. To read about plans and pricing information, click here.
Step 1: Navigate to the Create Heartbeat Button
1.1 Once on the Heartbeats page (or the Dashboard) you’ll see a + Create Heartbeat button near the top right corner. Click it.
Step 2: Enter Basic Heartbeat Information
2.1 Enter a name for your heartbeat. Choose a name that is easy to recognize. This name is for your own personal use.
2.2 Determine when to expect a heartbeat. You can select custom intervals of minutes, hours, or days.
2.3 Determine a Grace Period. This is the approximate time your cronjob takes to execute. You can select custom intervals of seconds, minutes, hours, or days.
2.4 From here, you have the option to add advanced settings. If you do not wish to add advanced settings, you can click the Create button and skip to Step 4.
Step 3: (Optional) Determine Advanced Settings
3.1 Click the Advanced Setting buttons to open up the Advanced Settings menu.
3.2 You’ll have the option to set up notifications to inform you if your heartbeat goes down or back up. Select the notification handler/s you wish to use. To create a notification handler, you can consult our documentation here.
3.3 Determine if you would like to receive email reports regarding your heartbeat’s uptime. The email notifications will be sent to the email associated with the account.
3.4 You’ll have the option to associate this heartbeat with a project. To create a project, you can consult our documentation here.
3.5 Once you’re done, click the Create button.
Step 4: View the Confirmation Screen
4.1 Once your heartbeat is created, you’ll see a message on the next screen confirming your heartbeat creation. You’ll be able to send a GET or POST request to the URL provided for each time your cronjob runs.