[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nohup and wget
From: |
Lionel_deschamps |
Subject: |
Nohup and wget |
Date: |
Mon, 31 May 2021 22:54:52 +0200 |
Hi all !
It might be a bug in wget (or me not being a pro with messages ...).
I wrote a simple bash program performing some periodic wget request and some
sleeps between each request called prequest.sh
I do execute this program through ssh and I would like this program to run even
if ssh connexion is lost.
I did use in ssh : nohup ./prerequest >/dev/null 2>&1 &
Now here is my “bug”
If I use wget with -q option, it runs fine and keeps running even if
disconnected
I I use directly wget without -q, it runs fine but wget are not performed if
i’m disconnected. Prequest seems to run as the sleeps are done.
I honnestly see no links between the -q option (no output) and the ssh
disconnection effects and I’m very interested in understanding the issue or let
you know that there might be a bug in wget.
Thansks all and have a great day.
Lionel Deschamps
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Nohup and wget,
Lionel_deschamps <=