Merhabalar,

Session kullanıcı adı ve şifresini şöyle aktarılabiliyormuş ama bende başarılı olmadı?

 wget --user=kullaniciAd --password='kullaniciSifre' http://15.11.22.33:1476/mgt/gunlukDurumRaporu.php -O /var/www/html/mgt/111.html

--2021-02-18 21:10:39-- http://15.11.22.33:1476/mgt/gunlukDurumRaporu.php
Connecting to 15.11.22.33:1476... connected.
HTTP request sent, awaiting response... 302 Found
Location: girisYap.php [following]
--2021-02-18 21:10:39--  http://15.11.22.33:1476/girisYap.php
Reusing existing connection to 15.11.22.33:1476.
HTTP request sent, awaiting response... 200 OK
Length: 640 [text/html]
Saving to: ‘/var/www/html/mgt/111.html’

/var/www/html/mgt/1 100%[===================>]     640 --.-KB/s    in 0s

2021-02-18 21:10:39 (176 MB/s) - ‘/var/www/html/mgt/111.html’ saved [640/640]


Kaynak: https://www.cyberciti.biz/faq/wget-command-with-username-password/


Kolay gelsin,
Mucip:)

18.02.2021 14:22 tarihinde Umurcan Görür yazdı:
0 23 * * * wget <url> -O <nereye_istiyorum>/<dosya_adim>.html
_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
https://liste.linux.org.tr/mailman/listinfo/linux-programlama
Liste kurallari: http://liste.linux.org.tr/kurallar.php

Cevap