Login Script for IP ACCT Solution based Broadband Login
- Prerequisites:
- Have Python with pip and virtualenv installed
-
- rename the file sampleenvfile to ".env" and enter your credentials there
- Install Python3 and virtualenv for your distro
- Create virtualenv and install requirements
python3 -m virtualenv lenv; source lenv/bin/activate.sh; pip install -r requirements.txt;
Edit run.sh to refect your project path(No Longer Required)- Rename
sample.env
to.env
. Edit your login credentials inside the double quotes - Execute
./run.sh
- Set crontab
crontab -e
to execute script every 15 mins Syntax. Change as per requirements in command below:- */15 * * * * ./Project-Path/run.sh