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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With