Discover Centmin Mod today
Register Now

Cron list empty?

Discussion in 'System Administration' started by Sunka, Jan 29, 2016.

  1. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    1:35 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    When I executed crontab -l it show nothing, empty list.
    I recently updated nginx, curl, brotli but nothing of this should not touch crontab.
    So I edited crontab -e and again put my personal crons, but what about crons which centmin add?
    I list last 1000 crons, and I see that phpmyadmin has one cron, and if I remember, after centmin was installed, in crontab there was 1-3 added crons.
    How to add that back?


    Also, another question, what is difference between this two command:
    /usr/bin/chown -R nginx:nginx /home/nginx/domains
    /usr/bin/chown -R nginx:nginx /home/nginx/domains/
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,425
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,840
    Local Time:
    9:35 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    the crons you added yourself would be lost for whatever reason caused cron listings to disappear
    crons that centmin mod added would depend on what addons or routines were ran i.e. centmin.sh menu option 22 adds auto wordpress updater and wp-cron alternative and default has a cminfo updater cron
    Code:
    crontab -l
    0 */4 * * * /usr/bin/cminfo_updater
    No difference
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,425
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,840
    Local Time:
    9:35 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated 123.09beta01 to backup Centmin Mod created cronjobs backup centmin mod setup cronjobs to cronjoblist files · centminmod/centminmod@d9a85b5 · GitHub