This repo is used to perform an automatically login or logout task, which is implemented in python: login_task.py
Config a task-cheduler to call a batch script auto_run.bat with parameters: username password login (or logout)
Here is a tutorial to config a task_scheduler: tutorial