Another alternative is to upgrade / refresh the LITE install with a full install as other things are not working.
Example
CRONTAB
I have tried both local user and sudo root with * * * * * full pathed shell script to echo the date and wake up the WiFi. Despite using spaces and repeating the line with TABS = nothing happens and the WiFi goes down.
All that its installed is MYSQL / Apache Web-Server and PHP.
As a test I wrote a simple C program to read a sensor and post into MYSQL if the value has changed. Works great when launched by hand, BUT not when requested every 10 minutes by crontab (again user and root)..
Any other suggestions would be welcome.
I do not want to replace the CM4 with the 4B as the CM4 is sited over a large motorhome leisure battery giving it 12 volts regardless of whether the grid is up or down.
Example
CRONTAB
I have tried both local user and sudo root with * * * * * full pathed shell script to echo the date and wake up the WiFi. Despite using spaces and repeating the line with TABS = nothing happens and the WiFi goes down.
All that its installed is MYSQL / Apache Web-Server and PHP.
As a test I wrote a simple C program to read a sensor and post into MYSQL if the value has changed. Works great when launched by hand, BUT not when requested every 10 minutes by crontab (again user and root)..
Any other suggestions would be welcome.
I do not want to replace the CM4 with the 4B as the CM4 is sited over a large motorhome leisure battery giving it 12 volts regardless of whether the grid is up or down.
Statistics: Posted by sgreensides — Wed May 01, 2024 7:10 am