elements-slot-scheduled-reservation
Simple Script that reserves the elements gym reservation slot
How To Use
- Clone this repo
- Create two repository secrets by going to Settings > Secrets and variables > Actions > Click on new Repository secret
- Create a secret named
ELEMENTS_EMAIL
with value as your email - Create a secret named
ELEMENTS_PASSWORD
with value as your time slot reservation password - Goto Actions > Reserve Slot > Artifacts > slot-reserved
- Download the file and unzip it, you should have a screenshot of your reservation
- You are Done!
- Above steps are only required once.
- There should now be a schedule that runs every day at the given time.
- If You want to change the days you want to reserve, just edit the file
.github
>workflows
>reserve-slot.yaml
and find the textcron
- The format is a cron expression that GitHub understands. See here for details
- Change it as you please but keep in mind this reserves for the next day so run it at most once every day and also before 1800 Hrs (this is when the window closes)
- Commit the file and your schedule will run accordingly.
Editted on 19.09.23