1
0
Fork 0
mirror of synced 2025-04-05 14:13:37 +03:00

Create change-vpn-cron-info

Change VPN info
This commit is contained in:
Ivan Dublianski 2019-03-26 15:48:30 +01:00 committed by GitHub
parent 41c606fc68
commit 7269f29057
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
change-vpn-cron-info Normal file
View file

@ -0,0 +1,6 @@
Every VPN should be named with prefix "VPN-", then script will be able to change it.
Type bash change-vpn.sh to change vpn manually or create a CRON job:
* */4 * * * bash /home/USERNAME/change-vpn.sh > /dev/null 2>&1 # will change VPN every 4 hours
20 */4 * * * bash /home/USERNAME/change-vpn.sh > /dev/null 2>&1 # will change VPN every 4 hours at 20-th minute
20 * * * * bash /home/USERNAME/change-vpn.sh > /dev/null 2>&1 # will change VPN every hour at 20-th minute