Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-24, 12:58:12

Author Topic: Auto update  (Read 4149 times)

0 Members and 1 Guest are viewing this topic.

Offline kloxo-fan

  • Junior Member
  • *
  • Posts: 31
  • Karma: +2/-0
    • View Profile
Auto update
« on: 2014-10-17, 12:15:30 »
Hello,
every 2-3 days in my ssh client manually run command "yum clean all; yum update -y; sh /script/cleanup"
but i want to ask is it possible to make a option for auto execution of this command?
In Kloxo-MR I see Cron Task but I'm not sure if it works or not if you put this command cuz it's required root permission and cron in kloxo runs as admin.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Auto update
« Reply #1 on: 2014-10-17, 13:18:50 »
Auto update will be implementing if Kloxo-MR 7 going to candidate step (aka 7.0.0.c). Now, still in beta.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kloxo-fan

  • Junior Member
  • *
  • Posts: 31
  • Karma: +2/-0
    • View Profile
Re: Auto update
« Reply #2 on: 2014-10-19, 10:42:03 »
What do you think about this script into "/etc/cron.daily/yumupdate" with chmod 755?
If works properly?
Code: [Select]
#!/bin/sh

YUM=/usr/bin/yum

# -y == assume yes
# -d == debug verbosity
# -e == error-reporting level
# -R == wait 0~n min before running the command (randomise)

# clear all packages, dependency headers, metadata and metadata cache
${YUM} -y -d 0 -e 0 clean all

# update the yum package itself
${YUM} -y -d 0 -e 0 update yum

# update everything
${YUM} -y -R 10 -e 0 -d 0 update

# cleanup Kloxo-MR
sh /script/cleanup

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Auto update
« Reply #3 on: 2014-10-19, 11:07:05 »
When if 7.0.0.c planned?


Auto update will be implementing if Kloxo-MR 7 going to candidate step (aka 7.0.0.c). Now, still in beta.
Kloxo-MR!

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.032 seconds with 22 queries.

web stats analysis