Wifi-Users Need to install nmap. sudo apt-get install nmap Add the Schema. Add a cron job for the shell script sudo crontab -e */2 * * * * /path/to/file/wifi_users.sh To run after every 2 mins