April 17, 201511 yr 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
April 17, 201511 yr 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.