Hi, El mar., 17 dic. 2019 a las 15:36, Tim Rühsen (<tim.rueh...@gmx.de>) escribió:
> Hi, > > are you sure that " and * are not somehow removed / expanded ? > > To test, put the wget command into a shell script and start that script > in the crontab. Does this make a difference ? > Yes, I fact I realized this behavior using wget inside a bash script in crontab, I copied the wget line from the script and added isolated to root-cron and the behavior keep going. I have installed this version: *$ apt-cache policy wget* *wget:* * Installed: 1.20.1-1.1* * Candidate: 1.20.1-1.1* * Version table:* * *** 1.20.1-1.1 500* * 500 http://ftp.cica.es/debian <http://ftp.cica.es/debian> buster/main amd64 Packages* * 100 /var/lib/dpkg/status* Thanks in advance, > > Regards, Tim > > On 12/17/19 2:55 PM, Álvaro Pinel Bueno wrote: > > Hello, > > > > I realized using wget secheduled in cron always ask to my dns > > server local-hostname resolution. > > > > If I try in bash it doesn't happen but in root cron I receive in my dns > > server at first the resolution of the hostname of the host with the cron > > scheduled and after the resolution of the domain indicated in the > > wget command. > > > > For example: > > > > *alv4ro@dummy# crontab -l* > > *# m h dom mon dow command* > > ** * * * * **/usr/bin/wget -q --no-check-certificate -O - > > --user-agent=WgetDummy/1.1 --post-data > > "user=example&password=passexample&host=domain.com > > <http://domain.com>&ip=" "https://otherdomain.com/plain/ > > <https://otherdomain.com/plain/>"* > > > > In my dns server I receive: > > *1. dummy resolution* > > *2. otherdomain.com <http://otherdomain.com> resolution* > > > > It's that ok? > > > > Is there any way to disable this behavior? > > > > Thanks in advance, > > > > alv4ro. > > > > -- *Álvaro Pinel Bueno *