Welcome to Centmin Mod Community
Become a Member

Wordpress Wordpress crontab

Discussion in 'Blogs & CMS usage' started by joshuah, May 3, 2017.

  1. noly

    noly Member

    106
    16
    18
    Jul 24, 2017
    Germany
    Ratings:
    +28
    Local Time:
    11:51 PM
    1.18.x
    10.2.x
    Looks like the cronjob is enabled in 123.09beta01. Right?

    Code:
    16 23 * * * echo _DOMAIN_ cacheenabler cron; sleep 239s ; rm -rf /home/nginx/domains/
    Seems like when running the tool to uninstall a wordpress site (wp_uninstall_xxx_.sh) the cronjob entry doesn't get deleted. After uninstalling wordpress i still see the entry when opening jobs via crontab -e.


    Can somebody confirm that?
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,892
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    yes missed the cronjob remove on wp_uninstall_domain.com.sh runs..

    fixing it in 123.09beta01 in next 15-30 mins :)

    for now manually remove it :)
     
  3. noly

    noly Member

    106
    16
    18
    Jul 24, 2017
    Germany
    Ratings:
    +28
    Local Time:
    11:51 PM
    1.18.x
    10.2.x
    aaaand another bug squaaashed :confused: :dead: :D:D:D
     
  4. noly

    noly Member

    106
    16
    18
    Jul 24, 2017
    Germany
    Ratings:
    +28
    Local Time:
    11:51 PM
    1.18.x
    10.2.x
    oooh...in the mail which gets send to the wp-admin...all conf files from the conf.d folder are listed...and the htaccess pw
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,892
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    ??? what is the email's subject title ? is it "yourdomain.com Wordpress Installed" ? If so, then that is normal it emails you a log of entire wordpress install routine
     
  6. noly

    noly Member

    106
    16
    18
    Jul 24, 2017
    Germany
    Ratings:
    +28
    Local Time:
    11:51 PM
    1.18.x
    10.2.x
    _DOMAIN_ Wordpress Installed Do 27. Jul 17:27:04 CEST 2017


    Code:
    ^[[1;33;40m-------------------------------------------------------------
    ^[(B^[[m^[[1;37;40mFTP hostname : 111.111.111.111
    ^[(B^[[m^[[1;37;40mFTP port : 21
    ^[(B^[[m^[[1;37;40mFTP mode : FTP (explicit SSL)
    ^[(B^[[m^[[1;37;40mFTP Passive (PASV) : ensure is checked/enabled
    ^[(B^[[m^[[1;37;40mFTP username created for
    ^[(B^[[m^[[1;37;40mFTP password created for 
    ^[(B^[[m^[[1;33;40m-------------------------------------------------------------
    ^[(B^[[m^[[1;37;40mvhost for created successfully
    ^[(B^[[m
    ^[[1;33;40mdomain: 
    ^[(B^[[m^[[1;37;40mvhost conf file for
    ^[(B^[[m
    ^[[1;37;40mupload files to /home/nginx/domains
    ^[(B^[[m^[[1;37;40mvhost log files directory is /home/nginx/domains/
    ^[(B^[[m
    ^[[1;32;40m------------------------------------------------------------
    ^[(B^[[m^[[1;33;40mSSH commands to uninstall created Wordpress install and Nginx vhost:
    ^[(B^[[m^[[1;33;40m  /root/tools/wp_uninstall_xxxx.sh
    ^[(B^[[m^[[1;32;40m------------------------------------------------------------
    ^[(B^[[m
    ^[[1;32;40m------------------------------------------------------------
    ^[(B^[[m^[[1;33;40mWordpress Auto Updater created at:
    ^[(B^[[m^[[1;33;40m  /root/tools/wp_updater_xxxx.sh
    ^[(B^[[m^[[1;33;40mcronjob set for every 8 hours update (3x times per day)
    ^[(B^[[m^[[1;32;40m------------------------------------------------------------
    ^[(B^[[m
    ^[[1;33;40mWordpress domain: 
    ^[(B^[[m^[[1;33;40mWordpress DB Name: 
    ^[(B^[[m^[[1;33;40mWordpress DB User: 
    ^[(B^[[m^[[1;33;40mWordpress DB Pass: 
    ^[(B^[[m^[[1;33;40mWordpress Admin User ID: 
    ^[(B^[[m^[[1;33;40mWordpress Admin User: 
    ^[(B^[[m^[[1;33;40mWordpress Admin Pass: 
    ^[(B^[[m^[[1;33;40mWordpress Admin Email:
    ^[(B^[[m
    ^[[1;33;40mWordpress wp-login.php password protection info:
    ^[(B^[[m^[[1;33;40mwp-login.php protection file /home/nginx/domains/DOMAIN/htpasswd_wplogin
    ^[(B^[[m^[[1;33;40mwp-login.php protection Username: 
    ^[(B^[[m^[[1;33;40mwp-login.php protection Password: 
    ^[(B^[[m^[[1;33;40mhttp://wp-login.php
    ^[(B^[[m
    ^[[1;33;40mResetting wp-login.php protection:
    ^[(B^[[m^[[1;33;40mStep 1. remove protection file at /home/nginx/domains
    /htpasswd_wplogin
    ^[(B^[[m^[[1;33;40m     rm -rf /home/nginx/domains//htpasswd_wplogin
    ^[(B^[[m^[[1;33;40mStep 2. run command:
    ^[(B^[[m^[[1;33;40m     /usr/local/nginx/conf/htpasswd.sh create /home/nginx/domain/htpasswd_wplogin YOURUSERNAME YOURPASSWORD
    ^[(B^[[m^[[1;33;40mStep 3. restart Nginx + PHP-FPM services
    ^[(B^[[m^[[1;33;40m     nprestart
    ^[(B^[[m
    ^[[1;33;40m-------------------------------------------------------------
    ^[(B^[[m^[[1;37;40mCurrent vhost listing at: /usr/local/nginx/conf/conf.d/
    ^[(B^[[m
    
    27. Jul 09:03   3,3K   _DOMAIN_.conf
    27. Jul 09:03   2,1K   _DOMAIN_.conf
    27. Jul 09:03   1,1K   _DOMAIN_.conf
    27. Jul 09:03   1,5K   _DOMAIN_.conf
    27. Jul 09:03   3,5K   ssl._DOMAIN_.ssl.conf
    27. Jul 09:03   2,2K   ssl._DOMAIN_.conf
    27. Jul 09:03   2,2K   phpmyadmin_ssl.conf
    27. Jul 17:26   3,3K   xx._DOMAIN_.conf
    
    ^[[1;32;40m------------------------------------------------------------
    ^[(B^[[m^[[1;33;40mTo complete setup:
    ^[(B^[[m  1. Enable Permalinks (DO NOT use links with .html extensions for performance reasons) i.e. /%post_id%/%postname%/
     2. Settings Menu > Cache Enabler set options and hit Save Changes
     3. Settings Menu > Optimus set options and hit Save Changes
     4. Appearance > Theme Options (Responsive theme) > Home Page nav bar > Uncheck Overrides Wordpress front page option
    ^[(B^[[m^[[1;32;40m------------------------------------------------------------
    ^[(B^[[m
     
    Last edited: Jul 28, 2017
  7. eva2000

    eva2000 Administrator Staff Member

    58,892
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Then that is normal it emails you a log of entire wordpress install routine :)
     
  8. noly

    noly Member

    106
    16
    18
    Jul 24, 2017
    Germany
    Ratings:
    +28
    Local Time:
    11:51 PM
    1.18.x
    10.2.x
    Normal is relative. :-p

    In my circumstances i would put the email of the person who is using wordpress and she/he would be managing the site and get all notifications etc.
    I don't think that the wordpress admin should get the server admin info.
     
  9. eva2000

    eva2000 Administrator Staff Member

    58,892
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    well Centmin Mod was only meant for a single admin running his own sites not for clients :)
     
  10. eva2000

    eva2000 Administrator Staff Member

    58,892
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    might want to remove that info or remove the vhost via wp_uninstall_yourdomain.com.sh script and reinstall again for reset login info
     
  11. noly

    noly Member

    106
    16
    18
    Jul 24, 2017
    Germany
    Ratings:
    +28
    Local Time:
    11:51 PM
    1.18.x
    10.2.x
    ??? mmmmh....for sure! :ROFLMAO:
    Somebody has to finance your donation. :rolleyes: