Want more timely Centmin Mod News Updates?
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:
    7:37 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