Discover Centmin Mod today
Register Now

Cron list empty?

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

  1. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    8:43 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    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

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    4:43 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    4:43 AM
    Nginx 1.13.x
    MariaDB 5.5
    Updated 123.09beta01 to backup Centmin Mod created cronjobs backup centmin mod setup cronjobs to cronjoblist files · centminmod/centminmod@d9a85b5 · GitHub

     
    • Like Like x 2