Learn about Centmin Mod LEMP Stack today
Become a Member

Cron list empty?

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

  1. Sunka

    Sunka Active Member

    917
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    5:30 AM
    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

    30,157
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:30 PM
    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

    30,157
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:30 PM
    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