javascriptnext.jsprisma2

How to use cron job in Blitz.js


information I looking for :(

How to implementing cron job using Blitz.js.

what I done so far

have double-checked Blitz.js document.

what I want ask

Does anyone know or have been done implementing cron job using Blitz.js?? simple sample code would be very helpful.


Solution

  • I was facing a similar issue, trying to implement cronjobs in Express layer of Blitzjs/Nextjs stack, turns out there is a solution for that, in blitzjs Documentation.

    It's implemented it using Quirrel a queuing service for projects like NextJs & BlitzJs.

    Plenty of code samples in the tutorial implementing how to use it.