Welcome to Centmin Mod Community
Become a Member

[Solved] Wordpress CMM installer does'n know if site is https or http CRON

Discussion in 'Bug Reports' started by EckyBrazzz, Sep 22, 2019.

  1. EckyBrazzz

    EckyBrazzz Active Member

    867
    182
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +333
    Local Time:
    8:30 PM
    Latest
    Latest
    Hi there,

    I run the wp-rocket and the SatelliteWP/rocket-nginx on my sites and have to set up the cron to run every 15 min, by default this is disabled by Centmin because of the WP-CLI.

    When I added a crontab -e I noticed that this auto added Cron whit domains don't include https even when you select to install it with Centmin.
    Code (Text):
    Do you want to continue with Nginx vhost site creation ? [y/n] y
    
    Enter vhost domain name you want to add (without www. prefix): domain.com
    
    Create a self-signed SSL certificate Nginx vhost? [y/n]: n
    Get Letsencrypt SSL certificate Nginx vhost? [y/n]: y
    
    You have 4 options:
    1. issue staging test cert with HTTP + HTTPS (untrusted)
    2. issue staging test cert with HTTPS default (untrusted)
    3. issue live cert with HTTP + HTTPS (trusted)
    4. issue live cert with HTTPS default (trusted)
    Enter option number 1-4:
    


    Code (Text):
    */15 * * * * sleep 151s ; wget -O - -q -t 1 http://domain.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1


    As my footer says, it can always done better, found also this little point. Grammatical.;)
    Should be without space, just like the rest.
     
  2. eva2000

    eva2000 Administrator Staff Member

    44,425
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    9:30 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    cheers thanks for the heads up on this bug(s) :D
     
  3. EckyBrazzz

    EckyBrazzz Active Member

    867
    182
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +333
    Local Time:
    8:30 PM
    Latest
    Latest
    Project_CMM_7303.png :):):):)

    Most of the time a problem that language....even if they are time-zone wise in the further.:D