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.
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
sails-hook-schedule