DEV Community

Szikszai Gusztáv
Szikszai Gusztáv

Posted on • Edited on

1

Base API: Periodic Jobs

Did you need to implement periodic jobs in any of your projects? If you did you probably used some kind of a scheduler like sidekiq or node-cron and you know that setting up a scheduler in any language can be tedious and get them running right is a hard task.

In Base you can now create scheduled webhooks in any of your projects to achieve the same thing easily and quickly.

What are scheduled webhooks?

They allow you to specify a HTTP request which will be sent at the pre-defined schedule - a CRON expression to be more precise.

ℹ️ If you don't know what a CRON expression is then you can read about it in this wikipedia article.

Setting up a scheduled webhook

Head over to www.base-api.io and create a project.

Once you have the project, navigate to the Scheduled Webhooks section:

Scheduled Webhooks Dashboard

Then press the "Create One" button:

Create Scheduled Webhook

Fill out the details of the webhook and press the "Create" button:

Created Scheduled Webhook

And that is it! The requests will be sent to the given URL at the specified times.

Checking the runs

All of the requests are recorded for you and once the webhook runs a few times they can be viewed by clicking on the url:

Scheduled Webhook Runs


I hope this will be useful for some projects!

As allways let me know if you have any question or ideas, and stay tuned for more awesome features coming in the next few weeks!📻

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

Cloudinary image

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay