Imagine you have 4 available timeslots in a day, however you want to close the day once 3 of them are filled. You obviously don't want to check manually. This is what Limit Bookings was designed for.
This script will add full-day events to your calendar when the criteria is met.
By retrieving recently updated events (default 60 seconds) this function can detect if a day should be closed based on the set criteria.
This function checks every day in a set period of time (default 90 days) and updates the day based on the set criteria. It is recommended that this funciton is only used once or twice a day.
- Google's Apps Script - Platform to run google scripts don't forget to add the Calendar service
- Calendar Documentation - Good to have if you want to edit any of the code
- CalendarApp Documentation - Good to have if you want to edit any of the code
- This script was originally made for Vhe Intuition
Q-er - A queuing system for Twitch.tv
If you have any questions feel free to Contact me