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

Mon Jan 14 06:26:38 UTC 2019
Ralf Prengel <ralf.prengel at rprengel.de>

Zitat von 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?


yes it is up.
Result of 10 pings is fine as first line in the script.
Any other ideas?