You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run some cron actions. These actions a super simple, it's just a trigger of a command build using ace.
First, I do not know if i should use crontab from linux, a package like adonis5-schedule or this package.
I've tried adonis5-schedule and I do not know how to use it in production (i.e.: how to stop jobs when reploying my application.
For this package, I can use the feature repeat from bull-mq but how to setup these in Adonis? I tried a prldfile but each time the server wake up, a new worker is created which is not what I want and I do not know how to manage this in production? Should I run node ace queue:listen using pm2? That's hard to understand the purpose of this package and the problem solved.
So I think crontab is the best solution actually?
Laravel have a tasks scheduler with a lot of feature and documentation. Could we expect the same with Adonis6?
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to run some cron actions. These actions a super simple, it's just a trigger of a command build using ace.
First, I do not know if i should use crontab from linux, a package like adonis5-schedule or this package.
I've tried adonis5-schedule and I do not know how to use it in production (i.e.: how to stop jobs when reploying my application.
For this package, I can use the feature
repeat
from bull-mq but how to setup these in Adonis? I tried a prldfile but each time the server wake up, a new worker is created which is not what I want and I do not know how to manage this in production? Should I runnode ace queue:listen
using pm2? That's hard to understand the purpose of this package and the problem solved.So I think crontab is the best solution actually?
Laravel have a tasks scheduler with a lot of feature and documentation. Could we expect the same with Adonis6?
The text was updated successfully, but these errors were encountered: