On Saturday, 1 December 2018 10:51:28 UTC, Andrew Milner wrote: > > First of all get rid of the HUP in Cron - that does not help at all > > Both log sections seem to show more than pne occurrence of weewx to be > running - look at the PIDs. You can only have one. > > > Hi,
Actually heres a snippet from further in the log where the cron fires one second after the minute mid download when weewx is actually working. As you can see it does nothing Dec 1 13:52:00 raspberrypi weewx[1230]: manager: Added record 2017-04-05 15:54:40 BST (1491404080) to daily summary in 'weewx.sdb' Dec 1 13:52:00 raspberrypi weewx[1230]: manager: Added record 2017-04-05 15:55:40 BST (1491404140) to database 'weewx.sdb' Dec 1 13:52:01 raspberrypi weewx[1230]: manager: Added record 2017-04-05 15:55:40 BST (1491404140) to daily summary in 'weewx.sdb' Dec 1 13:52:01 raspberrypi weewx[1230]: manager: Added record 2017-04-05 15:56:40 BST (1491404200) to database 'weewx.sdb' Dec 1 13:52:01 raspberrypi CRON[1243]: (pi) CMD (/home/pi/restart_weewx) Dec 1 13:52:01 raspberrypi weewx[1230]: manager: Added record 2017-04-05 15:56:40 BST (1491404200) to daily summary in 'weewx.sdb' Dec 1 13:52:01 raspberrypi weewx[1230]: manager: Added record 2017-04-05 15:57:40 BST (1491404260) to database 'weewx.sdb' Dec 1 13:52:02 raspberrypi weewx[1230]: manager: Added record 2017-04-05 15:57:40 BST (1491404260) to daily summary in 'weewx.sdb' Dec 1 13:52:02 raspberrypi weewx[1230]: manager: Added record 2017-04-05 15:58:40 BST (1491404320) to database 'weewx.sdb' Then after it hangs you get this Dec 1 13:52:17 raspberrypi weewx[1230]: manager: Added record 2017-04-05 16:27:40 BST (1491406060) to database 'weewx.sdb' Dec 1 13:52:17 raspberrypi weewx[1230]: manager: Added record 2017-04-05 16:27:40 BST (1491406060) to daily summary in 'weewx.sdb' Dec 1 13:52:17 raspberrypi weewx[1230]: manager: Added record 2017-04-05 16:28:40 BST (1491406120) to database 'weewx.sdb' Dec 1 13:52:17 raspberrypi weewx[1230]: manager: Added record 2017-04-05 16:28:40 BST (1491406120) to daily summary in 'weewx.sdb' Dec 1 13:53:01 raspberrypi CRON[1257]: (pi) CMD (/home/pi/restart_weewx) Dec 1 13:53:02 raspberrypi systemd[1]: Stopping LSB: weewx weather system... Dec 1 13:53:02 raspberrypi weewx[1268]: Stopping weewx weather system: weewx not running.... Dec 1 13:53:02 raspberrypi systemd[1]: Stopped LSB: weewx weather system. Dec 1 13:53:02 raspberrypi systemd[1]: Starting LSB: weewx weather system... Again the cron fires one second past the minute but this time, as weewx has already crashed, it gets restarted. Hope that better explains what's going on. Thanks G -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.