Announcement

Collapse
No announcement yet.

Disable Cron Job

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Disable Cron Job

    Hello,

    Ho to disable this cronjob: Anacron job 'cron.daily' on "server"

    Content:

    Code:
    /etc/cron.daily/logrotate:
    
    Redirecting to /bin/systemctl restart imunify360-unified-access-logger.service
    Thanks​

  • #2
    Hello maromania,

    For a deeper analysis why you receive such an e-mail i would suggest checking your current rotation configuration files.

    This can be accomplished by checking on the output of the following one,

    Code:
    cat /etc/logrotate.d/imunify*

    Other than that i believe the ideal solution would be for you to open a ticket so the support team check in place. I am sharing with the corresponding link here

    Thank you.
    Last edited by KBOURDAKOS; 02-02-2023, 12:38 PM.

    Comment


    • #3
      Thank you.

      Code:
      /var/log/imunify360/captcha.log {
          # Keep 3 lotated files before removal
          rotate 3
          maxsize 50M
          hourly
          compress
          delaycompress
      
          nocreate
          missingok
      
          postrotate
              if systemctl status imunify360-captcha > /dev/null ; then \
                  systemctl restart imunify360-captcha > /dev/null; \
              fi;
          endscript
      }
      /var/log/imunify360/pam.log {
          missingok
          notifempty
          size 30k
          create 0600 root root
          postrotate
              systemctl restart imunify360-pam > /dev/null
          endscript
      }
      /var/log/imunify360/imunify360-unified-access-logger/log.rotate {
          missingok
          notifempty
          size 30k
          create 0600 root root
          postrotate
              service imunify360-unified-access-logger restart
          endscript
      }
      /var/log/imunify360/wafd.log {
          missingok
          notifempty
          size 30k
          create 0600 root root
          postrotate
              service imunify360-wafd restart
          endscript
      }
      /var/log/imunify360-webshield/*.log {
              daily
              missingok
              rotate 52
              compress
              delaycompress
              notifempty
              create 640 imunify360-webshield adm
              sharedscripts
              postrotate
                      if [ -f /var/run/imunify360-webshield.pid ]; then
                              kill -USR1 `cat /var/run/imunify360-webshield.pid`
                      fi
              endscript
      }​

      Comment


      • #4
        Hello maromania,

        I hope you are doing well. Thanks for your quick prompt.

        While inspecting your provided output , it turns out that we have to check that in place.
        Thus, i would suggest opening a corresponding ticket using the submission form here.

        Kind Regards,

        Comment

        Working...
        X