Ralf Prengel
2019-Jan-14 06:26 UTC
[CentOS] @reboot only some lines of a script are working (yum install not)
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?Hallo, yes it is up. Result of 10 pings is fine as first line in the script. Any other ideas? Ralf
Anthony K
2019-Jan-15 14:48 UTC
[CentOS] @reboot only some lines of a script are working (yum install not)
On 14/1/19 5:26 pm, Ralf Prengel wrote:> > Hallo, > > yes it is up. > Result of 10 pings is fine as first line in the script. > Any other ideas? > > RalfMaybe there's something in the install process that needs a tty - maybe try running it in a screen session???
Anthony K
2019-Jan-15 14:49 UTC
[CentOS] @reboot only some lines of a script are working (yum install not)
On 16/1/19 1:48 am, Anthony K wrote:> On 14/1/19 5:26 pm, Ralf Prengel wrote: >> >> Hallo, >> >> yes it is up. >> Result of 10 pings is fine as first line in the script. >> Any other ideas? >> >> Ralf > > > Maybe there's something in the install process that needs a tty - > maybe try running it in a screen session???Sorry, ignore me - didn't see you had it sorted in a another out-of-band response...
Seemingly Similar Threads
- @reboot only some lines of a script are working (yum install not)
- @reboot only some lines of a script are working (yum install not)
- @reboot only some lines of a script are working (yum install not)
- @reboot only some lines of a script are working (yum install not)
- @reboot only some lines of a script are working (yum install not)