Welcome to Centmin Mod Community
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

    May 24, 2014
    Brisbane, Australia
    Local Time:
    8:32 PM
    Nginx 1.13.x
    MariaDB 5.5
    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