Run the command : which wunderfixer That should give you the correct path. Mine is at /usr/bin/wunderfixer
On Mon, Jul 20, 2020 at 11:35 AM Dave McCreath <[email protected]> wrote: > Hi All > > Bit of advice please for a noob. > > Running Weewx on an RPi 4, Raspian 10 (Buster) and recently upgraded to v4 > from v3. > > I was aware that Wunderfixer stopped working some time ago in v3 (unless > you were a Linux guru, which I'm not) due to api issues. > > Now that I have upgraded to v4, all is working fine and using Wunderfixer > now works direct from the command line as it should having inserted my api > into the config file. > > However, I now wish to go back to running Wunderfixer as a Crontask twice > a day as recommended in the Wunderfixer instructionsat 1158hrs and 2358hrs. > > I have inserted the Crontask (via crontab -e) instructions as per those > shown in the Wunderfixer instructions but with log options enabled: > > 16 13 * * * /home/weewx/bin/wunderfixer -v > > > From the log I get the following message: > > From pi@raspberrypi Mon Jul 20 13:16:01 2020 > Return-Path: <pi@raspberrypi> > X-Original-To: pi > Delivered-To: pi@raspberrypi > Received: by raspberrypi (Postfix, from userid 1000) > id ABD598021A; Mon, 20 Jul 2020 13:16:01 +0100 (BST) > From: root@raspberrypi (Cron Daemon) > To: pi@raspberrypi > Subject: Cron <pi@raspberrypi> /home/weewx/bin/wunderfixer -v > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > X-Cron-Env: <SHELL=/bin/sh> > X-Cron-Env: <HOME=/home/pi> > X-Cron-Env: <PATH=/usr/bin:/bin> > X-Cron-Env: <LOGNAME=pi> > Message-Id: <20200720121601.ABD598021A@raspberrypi> > Date: Mon, 20 Jul 2020 13:16:01 +0100 (BST) > > /bin/sh: 1: /home/weewx/bin/wunderfixer: not found > > Not sure that I'm pointing the crontask to the correct location, weewx for > me is installed in /etc/weewx, not /home/weewx, and my weewx directory does > not have a /bin sub directory, in fact I've no idea where wunderfixer is > actually running from! > > Can anyone point me in the right direction as to where I should direct the > crontask to or have an example to hand that I can use. > > Thank you > > Dave > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/41e20a45-1645-44d3-9a1b-76fbe1edf3f3o%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/41e20a45-1645-44d3-9a1b-76fbe1edf3f3o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAHiQ_B3zzzH%3DrSPvreycW969t37QoW9pT%3DpYhcpgErndAHfnng%40mail.gmail.com.
