How to complete a scheduled task in sailsjs

How 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 everything at once, so the user does not need to wait every time they update their records.

+6
source share
1 answer

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

+4
source

All Articles