From 7269f29057cf6224fcf18b20df640148c4314d0e Mon Sep 17 00:00:00 2001 From: Ivan Dublianski Date: Tue, 26 Mar 2019 15:48:30 +0100 Subject: [PATCH] Create change-vpn-cron-info Change VPN info --- change-vpn-cron-info | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 change-vpn-cron-info diff --git a/change-vpn-cron-info b/change-vpn-cron-info new file mode 100644 index 0000000..d8cb2d2 --- /dev/null +++ b/change-vpn-cron-info @@ -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