10

How do we perform a repetitive task (once a day for example) in sailsjs. I need to analyze the records in my database, and I want to do it all at once so the user doesn't have to wait each time they update their records.

1 Answer 1

8

You can either roll out your own solution using libraries like Kue, or Agenda, or node-cron, or you can use something like sails-hook-schedule

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.