Discover Centmin Mod today
Register Now

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

    282
    73
    28
    Nov 11, 2016
    California
    Ratings:
    +120
    Local Time:
    8:02 PM
    Nginx 1.13.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

    34,276
    7,586
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,668
    Local Time:
    1:02 PM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
    • Winner Winner x 1
  3. pamamolf

    pamamolf Well-Known Member

    3,099
    294
    83
    May 31, 2014
    Ratings:
    +527
    Local Time:
    6:02 AM
    Nginx-1.13.x
    MariaDB 10.1.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

    34,276
    7,586
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,668
    Local Time:
    1:02 PM
    Nginx 1.13.x
    MariaDB 5.5
    That is separate cron for cminfo command update so still needed
     
  5. GamerJota

    GamerJota Member

    51
    7
    8
    Mar 1, 2016
    Chile
    Ratings:
    +18
    Local Time:
    12:02 AM
    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.
     
    • Like Like x 1
  6. Itworx4me

    Itworx4me Premium Member Premium Member

    78
    9
    8
    Mar 14, 2017
    Ratings:
    +11
    Local Time:
    8:02 PM
    Nginx 1.13.X
    MariaDB 10.1.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

    34,276
    7,586
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,668
    Local Time:
    1:02 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  8. eva2000

    eva2000 Administrator Staff Member

    34,276
    7,586
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,668
    Local Time:
    1:02 PM
    Nginx 1.13.x
    MariaDB 5.5
    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...
    ===============================================================================
    
     
    • Like Like x 1
..