Selenium NCU HumanSys auto sign in/out program.
Auto detect sign in or sign out.
Installation:
- Clone or download this repo.
- pip install Selenium
- Download Firefox geckodriver and put into the repo dir.
- Change the student_id, student_pw, work_name, work_info in the config.json.
Reminder:
- Change the webdriver in punch.py if you are using Chrome.
- Download ChromeDriver and put into the repo dir.
Task schedule:
- Windows 10
- Edit punch_card.bat
- Change the repo path.
- Change the Anaconda environment "punch_card" in the second line.
- Add punch_card.bat file into the Task schedule.
- macOS
- Add punch.py into Automator.
- Ubuntu
- Add punch.py into Crontab.
Helpful guides: