From d12e2544326ceb724a61e8afdf392ba2aa17f38b Mon Sep 17 00:00:00 2001 From: furaihan Date: Wed, 26 Aug 2020 18:49:11 +0700 Subject: [PATCH] remove c# function and add a first setup configuration --- cpu-monitoring | 7 +------ first-setup | 5 +++++ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 first-setup diff --git a/cpu-monitoring b/cpu-monitoring index b67433e..c67a83e 100644 --- a/cpu-monitoring +++ b/cpu-monitoring @@ -1,9 +1,4 @@ -#using System; -#using System.Reflection; -#using System.ComponentModel; -#using System.Threading; - -global cpuarray ([/system resource get value-name=cpu-load]) +global cpuarray ([/system resource get value-name=cpu-load]) local isInternetConnected local rebootIfHigh false local setup do={ diff --git a/first-setup b/first-setup new file mode 100644 index 0000000..d6c2510 --- /dev/null +++ b/first-setup @@ -0,0 +1,5 @@ +#Add a new scheduler setting with folowwing event: +#Change telegram chat id below with your own +:global CHATID ("-4936xxx") +#Change telegram bot id below with your own +:global BOTID ("62xxxxxxxx:AAExxxx")