Back

functions

  • 0
  • Functions
  • Cloud
KakashiMan
18 Jan, 2025, 10:04

how would I reschedule a function execution at the same time of execution but next month, I can't use cron jobs because its user based so it will run every month but in that specific date it started from, So the idea is that I need to clear something off of the user when their plan expires, and ofcourse each user starts their plans in different times

it has to run every month

TL;DR
Developers want to reschedule a function to run at the same time but next month, without using cron jobs. The goal is to clear something for each user when their plan expires, as plans start at different times. **Solution:** - Use a scheduling library like node-schedule to set up a monthly recurring function to handle the task.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more