Releasing Node Cron Extension

We're building January, an all-in-one API development framework that enables you to build, integrate, test, and deploy APIs in one place.
Read more

Scheduled tasks are a common requirement in many applications.

They can be used for a variety of purposes:

  • Sending out reminders
  • Performing maintenance tasks.
  • Update services and alert on their health.
  • Update search indexes.
  • Running reports.
  • Triggering updates to and from third-party APIs.

How does it work?

It uses node-cron package to schedule tasks in your January project. Mostly suitable for running tasks in a vertical scaling environment.

How I can use it?

Cron/scheduled triggers follows same setup as other triggers in January.

feature('Roadmap', {
  workflows: [
    workflow('SendReminder', {
      tag: 'posts',
      trigger: trigger.schedule({
        pattern: '0 0 * * *',
      }),
      // ...
    }),
  ],
  tables: {
    // ...
  },
});

Get Involved

You can try it out today in the playground. We’re always happy to hear your feedback.

Looking to the future, January team is running a survey to gather info from the ecosystem to help shape the API development sphere. If you have a minute, please fill out the survey.

What's next?

We're gathering insights around API development and looking forward for your contribution in the survey.
Reading Time
1 min read
Table of Contents
  1. How does it work?
  2. How I can use it?
  3. Get Involved
  4. What's next?