Join the community today
Become a Member

Beta Branch Cronjob Auto Updating Centmin Mod Code Guide

Discussion in 'Beta release code' started by eva2000, Jun 15, 2015.

  1. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    7:34 PM
    Nginx 1.21.x
    MariaDB 10.1.x
    --------------------
    Different from my current cron?
    Code (Text):
    15 */3 * * * /root/tools/updatecm.sh 2>/dev/null


     
  2. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah just change your cronjob to the updated one AFTER you had updated one more time via centmin.sh menu option 23 submenu option 2 to pull in the updated new /usr/local/src/centminmod/updatecm.sh script
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    5:34 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    So is that needed now?

    Code:
    0 */4 * * * /usr/bin/cminfo_updater 2>/dev/null
    Sorry don't remember what is it for.... :(
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    That is separate cron for cminfo command update so still needed
     
  5. GamerJota

    GamerJota Member

    49
    7
    8
    Mar 1, 2016
    Ratings:
    +18
    Local Time:
    11:34 PM
    Hello, I'm going to leave a note in here.

    If for any reason, when you log in as root and centmin gets stucked at "Current Nginx Version - Latest Nginx Available" or if it also does it when you try to execute centmin, updatecm.sh is your saviour.
     
  6. Itworx4me

    Itworx4me Active Member

    299
    27
    28
    Mar 14, 2017
    Ratings:
    +48
    Local Time:
    7:34 PM
    Nginx 1.25.X
    MariaDB 10.6.X
    Just making sure this is the only line you need to run at command prompt?

    Code:
    0 */6 * * * /usr/local/src/centminmod/updatecm.sh 2>/dev/null
    Do you still have to setup git environment?

    Thanks,
    Itworx4me
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  8. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    12:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Reminder, when you log into your Centmin Mod 123.09beta01 server, the MOTD info display will tell you if you have Centmin Mod code updates available i.e.
    Code (Text):
    ===============================================================================
     Centmin Mod code updates available for /usr/local/src/centminmod
     to update re-run centmin.sh menu option 23 submenu option 2
    ===============================================================================
    

    or when up to date
    Code (Text):
    ===============================================================================
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    ===============================================================================