OpenSprinkler Forums OpenSprinkler Mobile and Web App Mobile Web App with Screenshots (Updated) Re: Re: Mobile Web App with Screenshots (Updated)




Just now got a strange error when trying to run watcher.php.

Did a new clean install just to verify.

Crontab for www-data is:

* * * * * cd /OpenSprinklerPi/webapp; php /OpenSprinklerPi/webapp/watcher.php >/dev/null 2>&1

Runing this at prompt gives:

root@rasp02:/OpenSprinklerPi/webapp# cd /OpenSprinklerPi/webapp; php /OpenSprinklerPi/webapp/watcher.php
PHP Fatal error: Maximum execution time of 6 seconds exceeded in /OpenSprinklerPi/webapp/main.php on line 1531