Skip to main content

Let's Encrypt creates too many logs.

Answered

Comments

15 comments

  • cPRex Jurassic Moderator

    Hey there!  Can you please confirm the log location you are seeing updated so frequently?

    0
  • sadasan

    Hello,

    Referiing to

    https://support.cpanel.net/hc/en-us/articles/360048523694-Where-are-AutoSSL-logs-stored

    It looks like located at

     '/var/cpanel/logs/autossl' directory

    [root@server autossl]# ls -aFl
    total 240
    drwx------ 58 root root 12288 Apr 25 09:57 ./
    drwx------ 10 root root  4096 Apr 25 04:50 ../
    drwx------  2 root root  4096 Mar 27 00:29 2024-03-26T15:29:01Z/
    drwx------  2 root root  4096 Mar 28 00:29 2024-03-27T15:29:02Z/
    drwx------  2 root root  4096 Mar 29 00:29 2024-03-28T15:29:01Z/
    drwx------  2 root root  4096 Mar 30 00:29 2024-03-29T15:29:02Z/
    drwx------  2 root root  4096 Mar 31 00:30 2024-03-30T15:29:01Z/
    drwx------  2 root root  4096 Apr  1 00:29 2024-03-31T15:29:01Z/
    drwx------  2 root root  4096 Apr  2 00:29 2024-04-01T15:29:01Z/
    drwx------  2 root root  4096 Apr  3 00:30 2024-04-02T15:29:01Z/
    drwx------  2 root root  4096 Apr  4 00:29 2024-04-03T15:29:01Z/
    drwx------  2 root root  4096 Apr  5 00:29 2024-04-04T15:29:01Z/
    drwx------  2 root root  4096 Apr  6 00:29 2024-04-05T15:29:01Z/
    drwx------  2 root root  4096 Apr  7 00:29 2024-04-06T15:29:01Z/
    drwx------  2 root root  4096 Apr  8 00:29 2024-04-07T15:29:01Z/
    drwx------  2 root root  4096 Apr  9 00:30 2024-04-08T15:29:01Z/
    drwx------  2 root root  4096 Apr 10 00:29 2024-04-09T15:29:01Z/
    drwx------  2 root root  4096 Apr 11 00:29 2024-04-10T15:29:01Z/
    drwx------  2 root root  4096 Apr 12 00:29 2024-04-11T15:29:01Z/
    drwx------  2 root root  4096 Apr 13 00:29 2024-04-12T15:29:01Z/
    drwx------  2 root root  4096 Apr 14 00:29 2024-04-13T15:29:01Z/
    drwx------  2 root root  4096 Apr 15 00:29 2024-04-14T15:29:01Z/
    drwx------  2 root root  4096 Apr 16 00:29 2024-04-15T15:29:01Z/
    drwx------  2 root root  4096 Apr 17 00:29 2024-04-16T15:29:01Z/
    drwx------  2 root root  4096 Apr 18 00:29 2024-04-17T15:29:01Z/
    drwx------  2 root root  4096 Apr 19 00:29 2024-04-18T15:29:01Z/
    drwx------  2 root root  4096 Apr 20 00:29 2024-04-19T15:29:02Z/
    drwx------  2 root root  4096 Apr 21 00:29 2024-04-20T15:29:01Z/
    drwx------  2 root root  4096 Apr 21 18:57 2024-04-21T09:57:01Z/
    drwx------  2 root root  4096 Apr 21 21:57 2024-04-21T12:57:01Z/
    drwx------  2 root root  4096 Apr 22 00:57 2024-04-21T15:57:01Z/
    drwx------  2 root root  4096 Apr 22 03:57 2024-04-21T18:57:01Z/
    drwx------  2 root root  4096 Apr 22 06:57 2024-04-21T21:57:01Z/
    drwx------  2 root root  4096 Apr 22 09:57 2024-04-22T00:57:02Z/
    drwx------  2 root root  4096 Apr 22 12:57 2024-04-22T03:57:01Z/
    drwx------  2 root root  4096 Apr 22 15:57 2024-04-22T06:57:01Z/
    drwx------  2 root root  4096 Apr 22 18:57 2024-04-22T09:57:01Z/
    drwx------  2 root root  4096 Apr 22 21:57 2024-04-22T12:57:01Z/
    drwx------  2 root root  4096 Apr 23 00:57 2024-04-22T15:57:01Z/
    drwx------  2 root root  4096 Apr 23 03:57 2024-04-22T18:57:01Z/
    drwx------  2 root root  4096 Apr 23 06:57 2024-04-22T21:57:01Z/
    drwx------  2 root root  4096 Apr 23 09:57 2024-04-23T00:57:02Z/
    drwx------  2 root root  4096 Apr 23 12:57 2024-04-23T03:57:01Z/
    drwx------  2 root root  4096 Apr 23 15:57 2024-04-23T06:57:01Z/
    drwx------  2 root root  4096 Apr 23 18:57 2024-04-23T09:57:01Z/
    drwx------  2 root root  4096 Apr 23 21:57 2024-04-23T12:57:01Z/
    drwx------  2 root root  4096 Apr 24 00:57 2024-04-23T15:57:01Z/
    drwx------  2 root root  4096 Apr 24 03:57 2024-04-23T18:57:01Z/
    drwx------  2 root root  4096 Apr 24 06:57 2024-04-23T21:57:02Z/
    drwx------  2 root root  4096 Apr 24 09:57 2024-04-24T00:57:01Z/
    drwx------  2 root root  4096 Apr 24 12:57 2024-04-24T03:57:02Z/
    drwx------  2 root root  4096 Apr 24 15:57 2024-04-24T06:57:01Z/
    drwx------  2 root root  4096 Apr 24 18:57 2024-04-24T09:57:01Z/
    drwx------  2 root root  4096 Apr 24 21:57 2024-04-24T12:57:02Z/
    drwx------  2 root root  4096 Apr 25 00:57 2024-04-24T15:57:01Z/
    drwx------  2 root root  4096 Apr 25 03:57 2024-04-24T18:57:01Z/
    drwx------  2 root root  4096 Apr 25 06:57 2024-04-24T21:57:01Z/
    drwx------  2 root root  4096 Apr 25 09:57 2024-04-25T00:57:01Z/
    [root@server autossl]#

     Befor 2024-04-20, the log was created one time a day, after 2024-04-21 when I upgarded by '/scripts/elevate-cpanel --start', the log is created every three hours a day. WHM is 120.

     

    0
  • cPRex Jurassic Moderator

    Thanks for the additional details.  I checked a few different machines and they all show multiple logs per day going back to March, so it seems this is normal behavior:

    drwx------    2 root root 4.0K Mar 26 17:12 2024-03-26T21:12:02Z
    drwx------    2 root root 4.0K Mar 26 20:12 2024-03-27T00:12:01Z
    drwx------    2 root root 4.0K Mar 26 23:12 2024-03-27T03:12:02Z
    drwx------    2 root root 4.0K Mar 27 02:12 2024-03-27T06:12:01Z
    drwx------    2 root root 4.0K Mar 27 05:12 2024-03-27T09:12:02Z
    drwx------    2 root root 4.0K Mar 27 08:12 2024-03-27T12:12:01Z
    drwx------    2 root root 4.0K Mar 27 11:12 2024-03-27T15:12:02Z
    drwx------    2 root root 4.0K Mar 27 14:12 2024-03-27T18:12:01Z
    drwx------    2 root root 4.0K Mar 27 17:12 2024-03-27T21:12:01Z
    drwx------    2 root root 4.0K Mar 27 20:12 2024-03-28T00:12:02Z
    drwx------    2 root root 4.0K Mar 27 23:12 2024-03-28T03:12:01Z
    drwx------    2 root root 4.0K Mar 28 02:12 2024-03-28T06:12:01Z
    drwx------    2 root root 4.0K Mar 28 05:12 2024-03-28T09:12:01Z
    drwx------    2 root root 4.0K Mar 28 08:12 2024-03-28T12:12:01Z
    drwx------    2 root root 4.0K Mar 28 11:12 2024-03-28T15:12:02Z
    drwx------    2 root root 4.0K Mar 28 14:12 2024-03-28T18:12:01Z
    drwx------    2 root root 4.0K Mar 28 17:12 2024-03-28T21:12:01Z
    drwx------    2 root root 4.0K Mar 28 20:12 2024-03-29T00:12:02Z
    drwx------    2 root root 4.0K Mar 28 23:12 2024-03-29T03:12:02Z
    0
  • sadasan

    Hello,

    Is there a way to generate logs only once a day like Sectigo AutoSSL?

    0
  • cPRex Jurassic Moderator

    I did some more research on this and confirmed that AutoSSL runs every 3 hours by design.  Here is the output showing this:

    # cat /etc/cron.d/cpanel_autossl
    12    2,5,8,11,14,17,20,23    *    *    *    root    /usr/local/cpanel/bin/autossl_check --all

    If you edit that cron configuration it will not be overwritten by the nighty update, so that will help to reduce the number of logs on the system.

     

    0
  • sadasan
    [root@server ~]# vi /etc/cron.d/cpanel_autossl
    29 0 * * * root /usr/local/cpanel/bin/autossl_check --all

    I configured but still the log creates every 3 hours.

    0
  • cPRex Jurassic Moderator

    After you made that change did you restart the crond service?  Running

    /scripts/restartsrv_crond

    would load the new configuration.

    0
  • sadasan

    Yes, I ran 'service crond restart' instead.
    I ran 'scripts/restartsrv_crond' and will check it later again.

     

    0
  • cPRex Jurassic Moderator

    I would expect both those commands to work equally well and do the same thing.

    Can you confirm the logs are still being created as separate entries inside /var/cpanel/logs/autossl?

    0
  • sadasan

    It still creates the logs every 3 hours after running 'scripts/restartsrv_crond'.

    I upgraded the server on 21th Apr. then it started.

    [root@server autossl]# ls -aFl
    total 652
    drwx------ 161 root root 12288 May  8 12:57 ./
    drwx------  10 root root  4096 May  8 04:50 ../
    drwx------   2 root root  4096 Apr  9 00:30 2024-04-08T15:29:01Z/
    drwx------   2 root root  4096 Apr 10 00:29 2024-04-09T15:29:01Z/
    drwx------   2 root root  4096 Apr 11 00:29 2024-04-10T15:29:01Z/
    drwx------   2 root root  4096 Apr 12 00:29 2024-04-11T15:29:01Z/
    drwx------   2 root root  4096 Apr 13 00:29 2024-04-12T15:29:01Z/
    drwx------   2 root root  4096 Apr 14 00:29 2024-04-13T15:29:01Z/
    drwx------   2 root root  4096 Apr 15 00:29 2024-04-14T15:29:01Z/
    drwx------   2 root root  4096 Apr 16 00:29 2024-04-15T15:29:01Z/
    drwx------   2 root root  4096 Apr 17 00:29 2024-04-16T15:29:01Z/
    drwx------   2 root root  4096 Apr 18 00:29 2024-04-17T15:29:01Z/
    drwx------   2 root root  4096 Apr 19 00:29 2024-04-18T15:29:01Z/
    drwx------   2 root root  4096 Apr 20 00:29 2024-04-19T15:29:02Z/
    drwx------   2 root root  4096 Apr 21 00:29 2024-04-20T15:29:01Z/
    drwx------   2 root root  4096 Apr 21 18:57 2024-04-21T09:57:01Z/
    drwx------   2 root root  4096 Apr 21 21:57 2024-04-21T12:57:01Z/
    drwx------   2 root root  4096 Apr 22 00:57 2024-04-21T15:57:01Z/
    drwx------   2 root root  4096 Apr 22 03:57 2024-04-21T18:57:01Z/
    drwx------   2 root root  4096 Apr 22 06:57 2024-04-21T21:57:01Z/
    drwx------   2 root root  4096 Apr 22 09:57 2024-04-22T00:57:02Z/
    drwx------   2 root root  4096 Apr 22 12:57 2024-04-22T03:57:01Z/
    drwx------   2 root root  4096 Apr 22 15:57 2024-04-22T06:57:01Z/
    drwx------   2 root root  4096 Apr 22 18:57 2024-04-22T09:57:01Z/
    drwx------   2 root root  4096 Apr 22 21:57 2024-04-22T12:57:01Z/
    drwx------   2 root root  4096 Apr 23 00:57 2024-04-22T15:57:01Z/
    drwx------   2 root root  4096 Apr 23 03:57 2024-04-22T18:57:01Z/
    drwx------   2 root root  4096 Apr 23 06:57 2024-04-22T21:57:01Z/
    drwx------   2 root root  4096 Apr 23 09:57 2024-04-23T00:57:02Z/
    drwx------   2 root root  4096 Apr 23 12:57 2024-04-23T03:57:01Z/
    drwx------   2 root root  4096 Apr 23 15:57 2024-04-23T06:57:01Z/
    drwx------   2 root root  4096 Apr 23 18:57 2024-04-23T09:57:01Z/
    drwx------   2 root root  4096 Apr 23 21:57 2024-04-23T12:57:01Z/
    drwx------   2 root root  4096 Apr 24 00:57 2024-04-23T15:57:01Z/
    drwx------   2 root root  4096 Apr 24 03:57 2024-04-23T18:57:01Z/
    drwx------   2 root root  4096 Apr 24 06:57 2024-04-23T21:57:02Z/
    drwx------   2 root root  4096 Apr 24 09:57 2024-04-24T00:57:01Z/
    drwx------   2 root root  4096 Apr 24 12:57 2024-04-24T03:57:02Z/
    drwx------   2 root root  4096 Apr 24 15:57 2024-04-24T06:57:01Z/
    drwx------   2 root root  4096 Apr 24 18:57 2024-04-24T09:57:01Z/
    drwx------   2 root root  4096 Apr 24 21:57 2024-04-24T12:57:02Z/
    drwx------   2 root root  4096 Apr 25 00:57 2024-04-24T15:57:01Z/
    drwx------   2 root root  4096 Apr 25 03:57 2024-04-24T18:57:01Z/
    drwx------   2 root root  4096 Apr 25 06:57 2024-04-24T21:57:01Z/
    drwx------   2 root root  4096 Apr 25 09:57 2024-04-25T00:57:01Z/
    drwx------   2 root root  4096 Apr 25 12:57 2024-04-25T03:57:01Z/
    drwx------   2 root root  4096 Apr 25 15:57 2024-04-25T06:57:01Z/
    drwx------   2 root root  4096 Apr 25 18:57 2024-04-25T09:57:01Z/
    drwx------   2 root root  4096 Apr 25 21:57 2024-04-25T12:57:01Z/
    drwx------   2 root root  4096 Apr 26 00:57 2024-04-25T15:57:01Z/
    drwx------   2 root root  4096 Apr 26 03:57 2024-04-25T18:57:01Z/
    drwx------   2 root root  4096 Apr 26 06:57 2024-04-25T21:57:01Z/
    drwx------   2 root root  4096 Apr 26 09:57 2024-04-26T00:57:01Z/
    drwx------   2 root root  4096 Apr 26 12:57 2024-04-26T03:57:01Z/
    drwx------   2 root root  4096 Apr 26 15:57 2024-04-26T06:57:01Z/
    drwx------   2 root root  4096 Apr 26 18:57 2024-04-26T09:57:01Z/
    drwx------   2 root root  4096 Apr 26 21:57 2024-04-26T12:57:01Z/
    drwx------   2 root root  4096 Apr 27 00:57 2024-04-26T15:57:02Z/
    drwx------   2 root root  4096 Apr 27 03:57 2024-04-26T18:57:01Z/
    drwx------   2 root root  4096 Apr 27 06:57 2024-04-26T21:57:01Z/
    drwx------   2 root root  4096 Apr 27 09:57 2024-04-27T00:57:01Z/
    drwx------   2 root root  4096 Apr 27 12:57 2024-04-27T03:57:02Z/
    drwx------   2 root root  4096 Apr 27 15:57 2024-04-27T06:57:02Z/
    drwx------   2 root root  4096 Apr 27 18:57 2024-04-27T09:57:01Z/
    drwx------   2 root root  4096 Apr 27 21:57 2024-04-27T12:57:01Z/
    drwx------   2 root root  4096 Apr 28 00:29 2024-04-27T15:29:01Z/
    drwx------   2 root root  4096 Apr 28 00:57 2024-04-27T15:57:01Z/
    drwx------   2 root root  4096 Apr 28 03:57 2024-04-27T18:57:01Z/
    drwx------   2 root root  4096 Apr 28 06:57 2024-04-27T21:57:01Z/
    drwx------   2 root root  4096 Apr 28 09:57 2024-04-28T00:57:01Z/
    drwx------   2 root root  4096 Apr 28 12:57 2024-04-28T03:57:01Z/
    drwx------   2 root root  4096 Apr 28 15:57 2024-04-28T06:57:01Z/
    drwx------   2 root root  4096 Apr 28 18:57 2024-04-28T09:57:01Z/
    drwx------   2 root root  4096 Apr 28 21:57 2024-04-28T12:57:01Z/
    drwx------   2 root root  4096 Apr 29 00:29 2024-04-28T15:29:02Z/
    drwx------   2 root root  4096 Apr 29 00:57 2024-04-28T15:57:01Z/
    drwx------   2 root root  4096 Apr 29 03:57 2024-04-28T18:57:01Z/
    drwx------   2 root root  4096 Apr 29 06:57 2024-04-28T21:57:01Z/
    drwx------   2 root root  4096 Apr 29 09:57 2024-04-29T00:57:01Z/
    drwx------   2 root root  4096 Apr 29 12:57 2024-04-29T03:57:01Z/
    drwx------   2 root root  4096 Apr 29 15:57 2024-04-29T06:57:01Z/
    drwx------   2 root root  4096 Apr 29 18:57 2024-04-29T09:57:01Z/
    drwx------   2 root root  4096 Apr 29 21:57 2024-04-29T12:57:01Z/
    drwx------   2 root root  4096 Apr 30 00:29 2024-04-29T15:29:01Z/
    drwx------   2 root root  4096 Apr 30 00:57 2024-04-29T15:57:01Z/
    drwx------   2 root root  4096 Apr 30 03:57 2024-04-29T18:57:01Z/
    drwx------   2 root root  4096 Apr 30 06:57 2024-04-29T21:57:01Z/
    drwx------   2 root root  4096 Apr 30 09:57 2024-04-30T00:57:01Z/
    drwx------   2 root root  4096 Apr 30 12:57 2024-04-30T03:57:01Z/
    drwx------   2 root root  4096 Apr 30 15:57 2024-04-30T06:57:01Z/
    drwx------   2 root root  4096 Apr 30 18:57 2024-04-30T09:57:01Z/
    drwx------   2 root root  4096 Apr 30 21:57 2024-04-30T12:57:01Z/
    drwx------   2 root root  4096 May  1 00:29 2024-04-30T15:29:01Z/
    drwx------   2 root root  4096 May  1 00:57 2024-04-30T15:57:01Z/
    drwx------   2 root root  4096 May  1 03:57 2024-04-30T18:57:01Z/
    drwx------   2 root root  4096 May  1 06:57 2024-04-30T21:57:01Z/
    drwx------   2 root root  4096 May  1 09:57 2024-05-01T00:57:01Z/
    drwx------   2 root root  4096 May  1 12:57 2024-05-01T03:57:01Z/
    drwx------   2 root root  4096 May  1 15:57 2024-05-01T06:57:01Z/
    drwx------   2 root root  4096 May  1 18:57 2024-05-01T09:57:01Z/
    drwx------   2 root root  4096 May  1 21:57 2024-05-01T12:57:01Z/
    drwx------   2 root root  4096 May  2 00:29 2024-05-01T15:29:01Z/
    drwx------   2 root root  4096 May  2 00:57 2024-05-01T15:57:01Z/
    drwx------   2 root root  4096 May  2 03:57 2024-05-01T18:57:01Z/
    drwx------   2 root root  4096 May  2 06:57 2024-05-01T21:57:01Z/
    drwx------   2 root root  4096 May  2 09:57 2024-05-02T00:57:01Z/
    drwx------   2 root root  4096 May  2 12:57 2024-05-02T03:57:01Z/
    drwx------   2 root root  4096 May  2 15:57 2024-05-02T06:57:01Z/
    drwx------   2 root root  4096 May  2 18:57 2024-05-02T09:57:01Z/
    drwx------   2 root root  4096 May  2 21:57 2024-05-02T12:57:01Z/
    drwx------   2 root root  4096 May  3 00:29 2024-05-02T15:29:01Z/
    drwx------   2 root root  4096 May  3 00:57 2024-05-02T15:57:02Z/
    drwx------   2 root root  4096 May  3 03:57 2024-05-02T18:57:01Z/
    drwx------   2 root root  4096 May  3 06:57 2024-05-02T21:57:01Z/
    drwx------   2 root root  4096 May  3 09:57 2024-05-03T00:57:01Z/
    drwx------   2 root root  4096 May  3 12:57 2024-05-03T03:57:01Z/
    drwx------   2 root root  4096 May  3 15:57 2024-05-03T06:57:02Z/
    drwx------   2 root root  4096 May  3 18:57 2024-05-03T09:57:01Z/
    drwx------   2 root root  4096 May  3 21:57 2024-05-03T12:57:01Z/
    drwx------   2 root root  4096 May  4 00:29 2024-05-03T15:29:01Z/
    drwx------   2 root root  4096 May  4 00:57 2024-05-03T15:57:01Z/
    drwx------   2 root root  4096 May  4 03:57 2024-05-03T18:57:01Z/
    drwx------   2 root root  4096 May  4 06:57 2024-05-03T21:57:01Z/
    drwx------   2 root root  4096 May  4 09:57 2024-05-04T00:57:02Z/
    drwx------   2 root root  4096 May  4 12:57 2024-05-04T03:57:01Z/
    drwx------   2 root root  4096 May  4 15:57 2024-05-04T06:57:01Z/
    drwx------   2 root root  4096 May  4 18:57 2024-05-04T09:57:01Z/
    drwx------   2 root root  4096 May  4 21:57 2024-05-04T12:57:01Z/
    drwx------   2 root root  4096 May  5 00:29 2024-05-04T15:29:01Z/
    drwx------   2 root root  4096 May  5 00:57 2024-05-04T15:57:01Z/
    drwx------   2 root root  4096 May  5 03:57 2024-05-04T18:57:01Z/
    drwx------   2 root root  4096 May  5 06:57 2024-05-04T21:57:01Z/
    drwx------   2 root root  4096 May  5 09:57 2024-05-05T00:57:01Z/
    drwx------   2 root root  4096 May  5 12:57 2024-05-05T03:57:02Z/
    drwx------   2 root root  4096 May  5 15:57 2024-05-05T06:57:01Z/
    drwx------   2 root root  4096 May  5 18:57 2024-05-05T09:57:01Z/
    drwx------   2 root root  4096 May  5 21:57 2024-05-05T12:57:01Z/
    drwx------   2 root root  4096 May  6 00:29 2024-05-05T15:29:01Z/
    drwx------   2 root root  4096 May  6 00:57 2024-05-05T15:57:01Z/
    drwx------   2 root root  4096 May  6 03:57 2024-05-05T18:57:01Z/
    drwx------   2 root root  4096 May  6 06:57 2024-05-05T21:57:01Z/
    drwx------   2 root root  4096 May  6 09:57 2024-05-06T00:57:01Z/
    drwx------   2 root root  4096 May  6 12:57 2024-05-06T03:57:01Z/
    drwx------   2 root root  4096 May  6 15:57 2024-05-06T06:57:01Z/
    drwx------   2 root root  4096 May  6 18:57 2024-05-06T09:57:01Z/
    drwx------   2 root root  4096 May  6 21:57 2024-05-06T12:57:01Z/
    drwx------   2 root root  4096 May  7 00:29 2024-05-06T15:29:01Z/
    drwx------   2 root root  4096 May  7 00:57 2024-05-06T15:57:01Z/
    drwx------   2 root root  4096 May  7 03:57 2024-05-06T18:57:01Z/
    drwx------   2 root root  4096 May  7 06:57 2024-05-06T21:57:01Z/
    drwx------   2 root root  4096 May  7 09:57 2024-05-07T00:57:01Z/
    drwx------   2 root root  4096 May  7 12:57 2024-05-07T03:57:02Z/
    drwx------   2 root root  4096 May  7 15:57 2024-05-07T06:57:01Z/
    drwx------   2 root root  4096 May  7 18:57 2024-05-07T09:57:01Z/
    drwx------   2 root root  4096 May  7 21:57 2024-05-07T12:57:01Z/
    drwx------   2 root root  4096 May  8 00:29 2024-05-07T15:29:01Z/
    drwx------   2 root root  4096 May  8 00:57 2024-05-07T15:57:01Z/
    drwx------   2 root root  4096 May  8 03:57 2024-05-07T18:57:01Z/
    drwx------   2 root root  4096 May  8 06:57 2024-05-07T21:57:01Z/
    drwx------   2 root root  4096 May  8 09:57 2024-05-08T00:57:01Z/
    drwx------   2 root root  4096 May  8 12:57 2024-05-08T03:57:01Z/
    [root@server autossl]#
    [root@server ~]# less /etc/cron.d/cpanel_autossl
    29 0 * * * root /usr/local/cpanel/bin/autossl_check --all
    [root@server ~]# 

    I expected the log creates one time a day on 0:29 a.m., but this cron does not work.

    I will reboot the server on next Sunday, 12th Apr.

     

    0
  • cPRex Jurassic Moderator

    Could you submit a ticket to our team so we can take a look at this? 

    0
  • sadasan

    I submitted a ticket.

    Thank you.

    0
  • cPRex Jurassic Moderator

    Could you post that number here so I can follow along?

    0
  • sadasan

    This issue has solved, ticket #95263353.

    I copied '/etc/cron.d/cpanel_autossl' with other name '/etc/cron.d/cpanel_autossl.bak' and left that file at '/etc/cron.d/', so both files were creating the logs.

    After I commented out the line of 'cpanel_autossl.bak' file as follows, this issue has solved.

    # 57    0,3,6,9,12,15,18,21     *       *       *       root    /usr/local/cpanel/bin/autossl_check --all

    Now, autossl creates a log once a day.

    Thank you.

    0
  • cPRex Jurassic Moderator

    I'm glad that's all it ended up being!

    0

Please sign in to leave a comment.