[CentOS] @reboot only some lines of a script are working (yum install not)

Mon Jan 14 09:11:34 UTC 2019
Ralf Prengel <ralf.prengel at rprengel.de>

Found this after using debug-level.
Seems as if curl doesn t use the proxy configuration.
We are using port 8080.

     }
   }
2019-01-14 09:57:06,919 attempt 1/10:  
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
2019-01-14 09:57:35,048 exception: [Errno 14] curl#7 - "Failed connect  
to mirrorlist.centos.org:80; Die Operation ist jetzt in Bearbeitung"
2019-01-14 09:57:35,049 retrycode (14) not in list [-1, 2, 4, 5, 6,  
7], re-raising
~

Zitat von Ralf Prengel <ralf.prengel at rprengel.de>:

> ok
> a good hint.
> I will test it monday.
>
> Ralf
>
> Von meinem iPhone gesendet
>
>> Am 10.01.2019 um 18:23 schrieb Mogens Kjaer <mk at lemo.dk>:
>>
>>> On 1/10/19 11:32 AM, Ralf Prengel wrote:
>>> yum install doesn't work running the script via cron allthough yum  
>>> remove works.
>>
>> Is the network up when the script executes?
>>
>> Mogens
>>
>> --
>> Mogens Kjaer, mk at lemo.dk
>> http://www.lemo.dk
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> https://lists.centos.org/mailman/listinfo/centos
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos