CronJobs are specified very similar to Queues:
🚨 Other Frameworks 🚨
The example above is for Next.js.
Take a look at how
Queue works with your framework - it's the same for
This creates a new CronJob, which will immediately be picked up by your local Quirrel instance:
During development, your local Quirrel instance is able to detect
CronJob() calls by watching your source directory.
To register cron jobs on deployment, run
quirrel ci during deployment
If you're struggling with cron syntax, check out crontab guru.
CronJob call is detected using regular expressions.
This limits the first two parameters to static strings.
Using variables won't work.