Crontab/Schedules
PiHome Smart Heating controller required some task to be schedule on regular interval to function properly, add all following crontab jobs as root Database Cleanup: Delete Temperature records older then 3 days. Delete Node Battery status older then 3 months. Delete Gateway Logs data older then 3 days. if you want to keep all data comments following line.
1 |
0 2 * * * /usr/bin/php /var/www/cron/db_cleanup.php >/dev/null 2>&1 |
Get CPU temperature and update database.
1 |
*/10 * * * * /usr/bin/php /var/www/cron/system_c.php >/dev/null 2>&1 |
Update Weather from OpenWeather, Make sure you signup to openweather api and update api…
0
Read More