night_temperature: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/night_temperature - from package: nightview-cli

You may install the required package with command yum install {package}
Error in other languages:
night_temperature: bevel nie gevind nie
night_temperature: comandă negăsită
night_temperature: comando não encontrado
night_temperature: commande introuvable
night_temperature: command not found
night_temperature: käsku ei ole
night_temperature: không tìm thấy lệnh
night_temperature: komanda nerasta
night_temperature: Kommando nicht gefunden.
night_temperature: kommandot finns inte
night_temperature: komut yok
night_temperature: nie znaleziono polecenia
night_temperature: níor aimsíodh an t-ordú
night_temperature: no se encontró la orden
night_temperature: no s'ha trobat l'ordre
night_temperature: opdracht niet gevonden
night_temperature: parancs nem található
night_temperature: perintah tidak ditemukan
night_temperature: príkaz nenájdený
night_temperature: příkaz nenalezen
night_temperature: команда не найдена
night_temperature: командата не е открита
night_temperature: 命令找不到
night_temperature: コマンドが見つかりません