I have a bash script to download the files from a remote website, which contains the following line:
wget -r -l 8 -nH -nv --user=user --password=password ftp://web5.pipeten.co.uk/some_folder -o /home/bob/logs/wget-log
When I run the script from the command line, it works perfectly. When I run it from my crontab it doesn't because DNS lookup on web5.pipeten.co.uk fails.
30 8 * * 6 bash /home/bob/bin/bb_backup.sh
What have I missed?
--
Bob Williams
# journalctl -b -e
...
Nov 06 19:54:55 00srv smartd[937]: Device: /dev/sdc [SAT], 8 Currently unreadable (pending) sectors
Nov 06 20:24:56 00srv smartd[937]: Device: /dev/sdc [SAT], 8 Currently unreadable (pending) sectors
Nov 06 20:54:56 00srv smartd[937]: Device: /dev/sdc [SAT], 8 Currently unreadable (pending) sectors
Nov 06 21:24:56 00srv smartd[937]: Device: /dev/sdc [SAT], 8 Currently unreadable (pending) sectors
Nov 06 21:54:55 00srv smartd[937]: Device: /dev/sdc [SAT], 8 Currently unreadable (pending) sectors
# fdisk -l /dev/sdc; smartctl -x /dev/sdc
http://fm.no-ip.com/Tmp/Hardware/Disk/smartctlx-msi85-hgst1000.txt
shows Current_Pending_Sector raw value is 8 after only 1660 power on hours. :-(
How can I find out which device(s) have the bad sectors before replacing the disk?
Are these likely fixable short of replacing the disk? If so, how? Can an extended
offline test force them to be rewritten and reallocated? Could this be some kind
of false alarm on so young a disk?
--
Evolution as taught in public schools is religion, not science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/
--
To unsubscribe, e-mail: opensuse-support+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-support+owner(a)opensuse.org
Hi guys,
In my machine all the network connection does not connect automatically. Except my VPN (openvpn), which has the connection.autoconnect: flag enabled:
The nmcli connection show output:
connection.id: VPN
connection.uuid: 5e089af9-75ad-40a6-bc2c-a5541b538f38
connection.stable-id: --
connection.type: vpn
connection.interface-name: --
connection.autoconnect: yes
connection.autoconnect-priority: 0
connection.autoconnect-retries: 0 (forever)
connection.auth-retries: -1
connection.timestamp: 1541556266
connection.read-only: no
connection.permissions: user:myuser
connection.zone: --
connection.master: --
connection.slave-type: --
connection.autoconnect-slaves: -1 (default)
connection.secondaries: --
connection.gateway-ping-timeout: 0
connection.metered: unknown
What I would like to do is connect the VPN automatically every time I connect to a network. How can I do that? Is the autoconnect flag enough for that?
Nowadays I need to connect manually.
Thanks!
Hello,
nice logic game Fillets NG is broken for Leap 51.0 and Tumbleweed:
$ fillets
main.cpp:117: ERROR init file not found; path='/usr/share/script/init.lua';
systemdir='/usr/share'; userdir='/home/vojta/.fillets-ng'; hint='try command
line option "systemdir=path/to/data"'
It will probably be some packaging issue or so, because of installation of
version for Leap 42.3 (packages fillets-ng and fillets-ng-data; without any
other change) fixes the problem:
sudo zypper in -f http://download.opensuse.org/repositories/openSUSE:/Leap:/
42.3/standard/x86_64/fillets-ng-1.0.1-5.2.x86_64.rpm http://
download.opensuse.org/repositories/openSUSE:/Leap:/42.3/standard/noarch/
fillets-ng-data-1.0.1-5.1.noarch.rpm
Everything then works fine.
--
Vojtěch Zeisek
Komunita openSUSE GNU/Linuxu
Community of the openSUSE GNU/Linux
https://www.opensuse.org/https://trapa.cz/