Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch disable crontab -r command by default

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 22, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    36,054
    7,910
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,192
    Local Time:
    11:57 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    disable crontab -r command by default

    - prevent accidental deletion of all cronjobs when you accidentally type crontab -r instead of crontab -e as per Sysadmin - strange cancellation of the cron
    - to update 123.09beta01 code, run command = cmupdate, then run centmin.sh menu once to auto disable crontab -r and then exit centmin.sh menu
    - IMPORTANT after running centmin.sh, exit your SSH session before trying to test run crontab -r as /root/.bashrc hasn't been updated until you re-login to your SSH session

    Continue reading...

    123.09beta01 branch
     
    • Like Like x 2
..