Thank you for the feedback Stéphane, wee_import --no-prompt will be
included in the 4.3.0 release.
Gary
On Saturday, 19 December 2020 at 21:36:25 UTC+10 sc.lep...@gmail.com wrote:
> Hello back Gary !
>
> I try it and its good !
>
> My script is working with no prompt !
>
>
> root@raspberry
Hello back Gary !
I try it and its good !
My script is working with no prompt !
root@raspberrypi:/home/pi/Froggit# ./recup_wu.sh
Using WeeWX configuration file /home/weewx/FROGGIT.conf
Starting wee_import...
Observation history for Weather Underground station 'IPONTS4' will be
imported.
Hello Gary,
Sorry for my non answer ! I dont see it ,
I m trying this as soon as possible and will give a feed back
Thanks a lot for this !
Best regards
stéphane
Le dimanche 22 novembre 2020 à 02:36:44 UTC+1, gjr80 a écrit :
> Stephane,
>
> I have implemented a --no-prompt command line
Stephane,
I have implemented a --no-prompt command line option for wee_import.
--no-prompt will cause 'y' to be automatically accepted for all y/n
prompts. To use it you just add it to your existing command line, eg:
$ /home/weewx/bin/wee_import --import-config=/var/tmp/wu.conf
--date=2020-11-
Hi Gary, Thanks a lot for your answer ...
there is option - - dry-run so if you can implemente - - no-prompt it
will be very good
Stephane
Le mardi 17 novembre 2020 à 08:37:56 UTC+1, gjr80 a écrit :
> Hi,
>
> There is presently no support in wee_import for
> suppressing/bypassing/automatica
Hi,
There is presently no support in wee_import for
suppressing/bypassing/automatically answering the y/n prompt in wee_import,
we never envisioned wee_import being used in that manner. Implementing
something like the --no-prompt command line option in wee_config should be
possible and fairly
For the first question I ve my own answer :
2 scripts bash
*For night and morning : *
#!/bin/bash
date_debut_jour_heure=`date +"%Y-%m-%dT00:00"` ;
date_fin_jour_heure=`date +"%Y-%m-%dT12:00"` ;
echo $date_debut_jour_heure;
echo $date_fin_jour_heure;
/home/pi/weewx-4.2.0/bin/wee_import --c