Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

pushbullet notifications via curl calls ssmtp?

Featured Replies

hey all, i have a simple cron script that will send me an alert via pushbullet every 15 minutes if my server reaches a certain CPU load as the 15 minute average.

 

anyway, the cronjob and script is working fine, and i am getting the alert just fine but i am also getting some ssmtp messages in my syslog, although i am not sending any emails? is this normal for curl to call ssmtp?

 

command my script runs:

 

curl --header 'Authorization: Bearer XXXauthXXX' -X POST https://api.pushbullet.com/v2/pushes --header 'Content-Type: application/json' --data-binary '{"type": "note", "title": "Alarm: unRAID", "body": "CPU usage has exceeded the 15 minute threshold @ '$thresh'."}'

 

crontab line:

 

*/15 * * * * /mnt/cache/.apps/scripts/out_top.sh >/dev/null

 

syslog will show:

 

Apr 17 02:26:07 Tower sSMTP[11408]: Creating SSL connection to host
Apr 17 02:26:07 Tower sSMTP[11408]: SSL connection using DHE-RSA-AES256-SHA
Apr 17 02:26:08 Tower sSMTP[11408]: 550 5.7.1 Invalid mail address <[email protected]>

 

here is the pushbullet api documentation: https://docs.pushbullet.com/#http

 

 

and not directly related, but while we're on the topic, i am seeing random crontab files being created, can these be deleted?

 

sh-4.2# cd /var/spool/cron/

sh-4.2# ls -l

total 12

drwxr-xr-x 2 root root  40 Apr 17 02:33 cron.MyTXZt

drwxr-x--- 2 root root  40 Sep  7  2012 cronstamps

-rw------- 1 root root 1107 Apr 17 02:00 crontab.GIFOaA

-rw------- 1 root root 1107 Apr 17 02:00 crontab.JO3kUW

-rw------- 1 root root 1041 Apr 17 01:36 crontab.vF0lJC

drwxr-x--- 2 root root  60 Feb 25 18:52 crontabs

 

  • Author

and just to add, i don't think it's curl by itself, must be something else in that command or in the response that calls ssmtp as i have other scripts that use curl that do not have this problem.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.