Search code examples
herokuscheduled-tasksschedulingmernnetlify

What is the best way to schedule a task using netlify, heroky or any other service?


I am creating a service that will allow users to schedule social media posts. Currently, I am thinking about using the cron-job API to create cron jobs that will call netlify functions.

Is this the correct way to implement this feature?


Solution

  • Netlify launched a feature for scheduling jobs/tasks similar to corn job. You can checkout their document for more detail and implementation. https://github.com/netlify/labs/blob/main/features/scheduled-functions/documentation/README.md Netlify Blog: https://www.netlify.com/blog/quirrel-joins-netlify-and-scheduled-functions-launches-in-beta