Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Cron thermallogger.sh PHP notice

#1
I have my system set to forward all mail to my own private account, and I'm receiving the following (irrelevant headers stripped);
======
Received: from root by nems with local
From: Cron Daemon <[email protected]>
To: [email protected]
Subject: Cron <[email protected]> /usr/local/share/nems/nems-scripts/thermallogger.sh cron
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>



PHP Notice: A non well formed numeric value encountered in /usr/local/share/nems/nems-scripts/thermallogger.sh on line 10
======


These are every 15 minutes, per cron schedule.

The most basic of diagnostics I can do is (if this is any help);

# sed -n 10p /usr/local/share/nems/nems-scripts/thermallogger.sh
$temp = (file_get_contents('/sys/class/thermal/thermal_zone0/temp')/1000);
# cat /sys/class/thermal/thermal_zone0/temp
46160
 
Messages In This Thread
Cron thermallogger.sh PHP notice - by nix-7 - 03-08-2019, 07:05 AM
RE: Cron thermallogger.sh PHP notice - by Robbie Ferguson - 03-08-2019, 12:24 PM
RE: Cron thermallogger.sh PHP notice - by nix-7 - 03-08-2019, 03:36 PM
RE: Cron thermallogger.sh PHP notice - by nix-7 - 03-08-2019, 04:22 PM
RE: Cron thermallogger.sh PHP notice - by Robbie Ferguson - 03-08-2019, 05:08 PM
RE: Cron thermallogger.sh PHP notice - by nix-7 - 03-09-2019, 03:18 PM
RE: Cron thermallogger.sh PHP notice - by Robbie Ferguson - 03-11-2019, 09:27 AM
 
Forum Jump:

Users browsing this thread: 1 Guest(s)