Skip to content

Latest commit

 

History

History
95 lines (64 loc) · 3.13 KB

README.md

File metadata and controls

95 lines (64 loc) · 3.13 KB

prometric-scheduler

Screenshot 2024-04-04 12 35 44 PM

Overview

This project automates website interaction on Prometric website, checks for available dates and alerts the user once seats are found.

Note

It checks for Pakistani centers by default. To add other centers see section "Adding centers for different country"

Download and Install python and required packages

Python Script (proscheduler.py)

  • Download repository image

  • extract zip file

  • open terminal in the prometric-scheduler/ folder where proscheduler.py is located

  • inside cmd/terminal run:

  • on Linux/MacOS:

    python3 proscheduler.py
    
  • on Windows:

    py proscheduler.py
    
  • running.script.on.Linux.mp4
  • When running the script for the first time, it will prompt you with a few relevant questions.

  • The provided values are then saved in the user_input.txt file.

  • Subsequent runs of the script will automatically load values from the user_input.txt file.

Note

To update the stored values, simply delete the user_input.txt file and rerun the script. OR run script with "-e" argument

python3 proscheduler.py -e

Adding centers for different country

  • run script with "-c" argument to add other centers
python3 proscheduler.py -c
  • this will create a custom_centers.txt file in same directory, and store centers
Screen.recording.2024-04-06.6.25.01.PM.1.webm

Tip

Do Not! change any file names in prometric-scheduler folder for scheduling to work properly.

Caution

Script will remove all previous cronjobs on Linux & MacOs.

Linux and MacOs

  • For Linux and MacOS users, the script utilizes crontab for scheduling automatic runs. Visit crontab.guru to configure the timing.
  • once you have found your seats(hooray!!🎉🥳), to remove all cronjobs run crontab -r command in terminal.

Windows

  • on Windows, script utilizes Windows Task Scheduler. after running the script, search task scheduler in start menu and see if the task is created.
  • Delete Task once you have found your dates. image

Support

For any issues or questions, feel free to create an issue.

License

This project is licensed under the MIT License.