• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question yum update cron plesk

solucionesuno

Regular Pleskian
Hi,

Is a good idea create a cron yum -y update?

Every two weeks i have an advice tu update package, and i have to do it manually. I have a lot of servers, so it is a manually operation every day.

thanks for commments
 
Run yum -y install yum-cron

- > open /etc/sysconfig/yum-cron with an editor of your choice and edit:

Don't install, just check (valid: yes|no)
CHECK_ONLY=no

Check to see if you can reach the repos before updating (valid: yes|no)
CHECK_FIRST=no

# Don't install, just check and download (valid: yes|no)
# Implies CHECK_ONLY=yes (gotta check first to see what to download)
DOWNLOAD_ONLY=no

# randomwait is used by yum to wait random time
# default is 60 so yum waits random time from 1 to 60 minutes
# the value must not be zero
RANDOMWAIT="1"

# if MAILTO is set and the mail command is available, the mail command
# is used to deliver yum output

# by default MAILTO is unset, so crond mails the output by itself
# example: MAILTO=root
MAILTO=root

Time of the updates:

# you may set DAYS_OF_WEEK to the days of the week you want to run
# default is every day
DAYS_OF_WEEK="0123456"

save the file and close it.


- > service yum-cron start

- > chkconfig yum-cron on

If you have any questtions, please let me know.
 
Do you know you can automatically install system updates on a daily basis with Plesk?

https://docs.plesk.com said:
You can install updates of system packages via the Plesk's UI by using the System Updates tool. The tool uses the native functionality of operating system package managers, such as yum or apt, to install updates. This makes it easier for you to monitor and keep packages up-to-date.

[...]

The System Updates tool checks for updates on a daily basis and displays updates information in the list of packages and on the Plesk home page. It also sends notifications if you configured it so.

To update system packages automatically:
  1. Go to Tools & Settings > Server Management > System Updates > Settings.
    Alternatively, go to Tools & Settings > Update and Upgrade Settings.

  2. Select Automatically install system package updates.
(с) System Updates (Plesk for Linux only)
 
Back
Top