Heartbeat

Monitoring background jobs is hard. Robodash makes it easy with widgets called heartbeats.

After adding a heartbeat widget click on the cog icon to edit it’s settings.

Choose how often your background job should run (for example: 1 x day = once every day). The grace period defines when Robodash should alert you when your bg job doesn’t run. Long running jobs should have a longer grace period to prevent false positives.

As soon as Robodash detects your first background job it will start monitoring it for future runs.

In order to notify Robodash that your background job successfully finished you have to make a POST-request to a URL. The easiest way to do this is to simply add a POST-request at the end of your background job.

Every widget has a unique ping URL.

Here are two examples of a POST-request:

curl -X POST https://www.robodash.app/ping/abc12

You can send POST-requests in a lot of ways. It shouldn’t be too hard to figure out for your environment. You can do it!

Last updated

Was this helpful?