-
Hello, Within my web app, I would like to add the ability for users to schedule their own jobs (also recurring) - I will have one job.js file which will be generic and receive an object by using the I have seen good examples using a database as a queue for one off jobs but not sure how to handle this for recurring jobs. Any ideas or examples I can be linked to? What I have tried looks like this but it does not seem to work and I am sure it is not the best way to do this: service.js
controller.js
route.js
server.js
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You should be using a database to store the jobs you want to add, then the job itself should poll the database. |
Beta Was this translation helpful? Give feedback.
You should be using a database to store the jobs you want to add, then the job itself should poll the database.