
25 Jun
2022
25 Jun
'22
09:54
I have a crontab entry which runs ones per hour calling a bash script. The content of the script is: #! /bin/bash # # dig smtp.gmail.com >> digoutput.txt 2>&1 rc=$? [ $rc -ne 0 ] && echo "exitcode dig = $rc" The output of the cronjob is: /home/xxxxx/bin/script.sh: line 4: 32349 Terminated dig smtp.gmail.com >> digoutput.txt 2>&1 exitcode dig =143 143 means the dig command is terminated by SIGTERM Any idea? -- fr.gr. member openSUSE Freek de Kruijf