This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replace NAME with your username and PASS with your password that you use to connect to Cyberoam. | |
Now add this script to your your crontab like so: | |
$ crontab -e | |
Add the following entry: | |
* * * * * /home/webonise/.shell_scripts/cron_jobs/webonise_cyberoam_login.sh | |
Replace the path with wherever the above mentioned script lies on your system. | |
The script will be executed every minute. It will check if you are connected to the Internet and if not it will connect you. |