2022-03-11
1270
#node
Gbolahan Olagunju
95863
Mar 11, 2022 ⋅ 4 min read

Job scheduling in Node.js using Agenda.js

Gbolahan Olagunju Let's have a chat about your project. Find me on Twitter @iamgbols.

Recent posts:

A Comprehensive Guide To JavaScript Generators

A comprehensive guide to JavaScript generators

JavaScript generators offer a powerful and often overlooked way to handle asynchronous operations, manage state, and process data streams.

Fimber Elemuwa
Jan 24, 2025 ⋅ 8 min read
​​Solving Micro-Frontend Challenges With Module Federation

​​Solving micro-frontend challenges with Module Federation

webpack’s Module Federation allows you to easily share code and dependencies between applications, helpful in micro-frontend architecture.

Peter Aideloje
Jan 23, 2025 ⋅ 7 min read
typescript object destructuring

TypeScript object destructuring and you

Whether you’re part of the typed club or not, one function within TypeScript that can make life a lot easier is object destructuring.

Lewis Cianci
Jan 22, 2025 ⋅ 5 min read
master state management hydration Nuxt usestate

Nuxt state management and hydration with useState

useState can effectively replace ref in many scenarios and prevent Nuxt hydration mismatches that can lead to unexpected behavior and errors.

Yan Sun
Jan 20, 2025 ⋅ 8 min read
View all posts

One Reply to "Job scheduling in Node.js using Agenda.js"

  1. Great write up, it helped a lot.

    I had issues with getting the job to run. Inside the definition functions, one needs to call await agenda.start(); before agenda.define().

    The code in the definition might have worked for previous versions of the package, but [email protected] needs the start function.

    Cheers.

Leave a Reply