forked from papampi/nvOC_by_fullzero_Community_Release
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7telegram
35 lines (26 loc) · 933 Bytes
/
7telegram
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
##########################################################################
##########################################################################
################# nvOC v0019-2.0 - Community Release #################
############## by papampi, Stubo and leenoox ##############
########## Based on the original nvOC v0019-1.4 by fullzero ##########
##########################################################################
##########################################################################
nvOC_Ver="nvOC v0019-2.0 - Community Release"
nvOC_telegram_ver="v0019-2.0.001" # Do not edit this
source ~/1bash
echo "Telegram Messages for $nvOC_Ver"
echo "Version: :$nvOC_telegram_ver"
echo ""
while true
do
TIMEIN=$TELEGRAM_TIMEOUT_IN_MINUTES
TIMEOUT=$(($TIMEIN * 60))
bash '/home/m1/telegram'
sleep 2
echo ""
echo "New Telegram in $TIMEOUT seconds"
sleep $TIMEOUT
echo ""
done
fi