Want more timely Centmin Mod News Updates?
Become a Member

Thanks for making this idiot proof

Discussion in 'Install & Upgrades or Pre-Install Questions' started by briansol, May 11, 2024.

  1. briansol

    briansol New Member

    9
    3
    3
    Dec 19, 2015
    Ratings:
    +6
    Local Time:
    11:20 AM
    I went to add a job to the crontab and over-wrote instead of appended my entry.

    I noticed there were crons there before from centmin, so i paniced a little.

    quickly went in to centmin to see if there was an option to rebuild and yet, there it was, checking the crons exist and appending them to my 'new' file i just made before loading the options interface.
    existed out, did a crontab -l to see my and centmin's crons there now.

    Hoping there weren't others from alma - i'll never know i guess. Hope i didn't blow up the server.

    Note to self-- back up the cron tab too!


    THANK YOU, because i came here to ask for the cron scripts to add, but didn't have to.
     
  2. eva2000

    eva2000 Administrator Staff Member

    51,985
    11,976
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,473
    Local Time:
    1:20 AM
    Nginx 1.25.x
    MariaDB 10.x
    Somewhat limited but through various Centmin Mod setup stages there would be cronjob backups that are saved to /etc/centminmod/cronjobs as well

    Also if you ran centmin.sh menu option 22 for Wordpress installs, you should have before and after Wordpress install specific cronjob backups at /home/nginx/domains/yourdomain.com/cronjobs

    FYI, if you list and sort them by date ascending you can get a sense of the order they were created

    Code (Text):
    ls -lahrt /etc/centminmod/cronjobs
    ls -lahrt /home/nginx/domains/yourdomain.com/cronjobs