Hello All,
I am getting the error "unable to open cache file" when I run the cron job on my godaddy shared server.
I set this up through cpanel and am using php version 7.2. I have had numerous calls to support and they say the problem is in my script but it will run when I call it through a browser.
Below is the message I get when the cron runs. I would appreciate any help getting this resolved.
Thanks
John
<!-- nws-alerts.php - V1.43 - 14-May-2019 -->
<!-- 4 unique Zone entries found. Zones='CAZ513,CAC085,CAZ529,CAC087' -->
<!-- Cron job enabled -->
<!-- XML source:
https://alerts.weather.gov/cap/wwaatmget.php?x=CAZ513&y=1 -->
<!-- HTTP stats: RC=200 dest=23.198.4.70 port=443 (from sce=107.180.109.4)
Times: dns=0.004 conn=0.022 pxfer=0.088 get=0.233 total=0.321 secs -->
<!-- XML source:
https://alerts.weather.gov/cap/wwaatmget.php?x=CAC085&y=1 -->
<!-- HTTP stats: RC=200 dest=23.198.4.70 port=443 (from sce=107.180.109.4)
Times: dns=0.004 conn=0.021 pxfer=0.079 get=0.232 total=0.310 secs -->
<!-- XML source:
https://alerts.weather.gov/cap/wwaatmget.php?x=CAZ529&y=1 -->
<!-- HTTP stats: RC=200 dest=23.198.4.70 port=443 (from sce=107.180.109.4)
Times: dns=0.004 conn=0.022 pxfer=0.074 get=0.322 total=0.396 secs -->
<!-- XML source:
https://alerts.weather.gov/cap/wwaatmget.php?x=CAC087&y=1 -->
<!-- HTTP stats: RC=200 dest=23.198.4.70 port=443 (from sce=107.180.109.4)
Times: dns=0.004 conn=0.021 pxfer=0.071 get=0.260 total=0.331 secs -->
<!-- unable to open cache file -->
<!-- unable to open cache file -->
<!-- unable to open big icon cache file -->
<!-- Total process time: 1.3703 seconds -->