Author Topic: Update required for NWS-Alerts.php  (Read 1048 times)

0 Members and 1 Guest are viewing this topic.

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 2988
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: Update required for NWS-Alerts.php
« Reply #25 on: February 22, 2018, 12:16:30 PM »
Thanks Ken.

Here is my script

Code: [Select]
# cron job to run nws-alerts.php
# --- begin settings
# --- end settings
cd $HDIR

# Use one or the other .. direct is prefered over curl
if [ "$USECMD" == "PHP" ]

The cron in the control panel invokes it every 5 minutes.

The strange thing was the warning didn't clear until I commented out one of the counties. Strangely enough, when I un-commented it to restore the county, it all started working correctly without the message. Maybe it was cached.

Thanks for your help, Ken.

Greg H.

Blitzortung Stations 668, 706 - CWOP CW4114 -  CoCoRaHS MI-PI-1