14 May
2017
14 May
'17
19:28
Hello: I would like to use cron to start and stop wget commands using wget -q (quiet) and -b (background) options. For stopping the correct wget connect at given time I need to know its pid. wget -bq url runs like this: wget -b -q -O output-file url-address Continuing in background, pid 10874. I should somehow record the pid in a file and use it with the kill command, but I don't know how I could do it. Any help would be appreciated. Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org