fix pushbullet tempfile + add telegram notification
This commit is contained in:
+11
-4
@@ -22,7 +22,14 @@ toSms=+32xxxxxxxx #the mobile number to send to
|
||||
textSms="$bodyDefault" #body message to send by SMS
|
||||
|
||||
#--- Data for pushBullet ---#
|
||||
providerApi='https://api.pushbullet.com/v2/pushes'
|
||||
accessToken='o.xxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
||||
subjectPushBullet="$HOSTNAME UPS event $argument" #subject sent by pushBullet
|
||||
textPushBullet="$bodyDefault" #body message sent by pushBullet
|
||||
pushbulletProviderApi='https://api.pushbullet.com/v2/pushes'
|
||||
pushbulletAccessToken='o.xxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
||||
pushbulletSubject="UPS event $argument" #subject sent by pushBullet
|
||||
pushbulletMessage="$bodyDefault" #body message sent by pushBullet
|
||||
|
||||
#--- Data for telegram ---#
|
||||
telegramProviderApi='https://api.telegram.org'
|
||||
telegramAccessToken=''
|
||||
telegramChatID=''
|
||||
telegramSubject="UPS event $argument" #subject sent by telegram
|
||||
telegramMessage="$bodyDefault" #body message sent by telegram
|
||||
Reference in New Issue
Block a user