How do I create a program that can schedule recurring dates
Hi all,
I'm trying to build an application where the admin is able to schedule a program to recur based on the days of the week and the time.
For instance, every Monday, Tuesday, and Thursday at 7 am, there is a breakfast offer.
Could I get some help in building this? Such as how the database and API should be designed?
Thanks :D
Answers
-
Hi @AdamU - This is a perfect candidate for a background task (https://docs.xano.com/xano-features/tasks). Background tasks allow you to schedule logic on a recurring basis. You could run this every 24 hours at 7 am and begin it with a conditional to evaluate if the day is Monday, Tuesday, or Thursday
-
Hey,
Thanks for the quick response.
Do you happen to know how the database would be structured? What columns would I need to set this up?
Thanks
-
Will the breakfast offers be the same or different each day?
-
Hey,
They will be the same
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback