Ask Your Question
1

Scheduling updates dnf

asked 2018-11-09 03:54:31 -0500

Phoenix_masshhad gravatar image

updated 2018-11-09 03:56:26 -0500

Hi I'm trying to schedule a update to execute a hours special. Can anyone tell me?

edit retag flag offensive close merge delete

Comments

2

@Phoenix_masshhad , I think you're asking for this AutoUpdates, and automatic

hhlp gravatar imagehhlp ( 2018-11-09 04:09:29 -0500 )edit
1

Take a look at the yum-cron packages: dnf search yum-cron

lkiesow gravatar imagelkiesow ( 2018-11-10 16:40:49 -0500 )edit

2 Answers

Sort by » oldest newest most voted
4

answered 2018-11-12 12:44:45 -0500

mattdm gravatar image

The tool you're looking for is called DNF Automatic. There's a good blog post on it here: Automatic package updates with dnf. In short:

sudo dnf install dnf-automatic
sudo systemctl enable dnf-automatic-install.timer
edit flag offensive delete link more
0

answered 2018-11-12 07:40:09 -0500

Phoenix_masshhad gravatar image

updated 2018-11-12 11:10:17 -0500

hi I used this packages

yum-cron

And thank you very much for @lkiesow for help

edit flag offensive delete link more

Comments

2

@Phoenix_masshhad as a comment of this if you look the instalation process you can apreciate that you're installing YUM too this packages was discontinued a years ago an replacement of it is DNF.

hhlp gravatar imagehhlp ( 2018-11-12 07:50:51 -0500 )edit

@hhlp I know

But the package did not find similar

Phoenix_masshhad gravatar imagePhoenix_masshhad ( 2018-11-12 11:12:10 -0500 )edit
1

You could simply have a bash script that executes ‘sudo dnf -y update’ and then use a cron job to schedule the execution of the job. That way you use dnf and you respect settings in dnf.conf

florian gravatar imageflorian ( 2018-11-12 11:32:36 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-11-09 03:54:31 -0500

Seen: 132 times

Last updated: Nov 12 '18