Skip to main content

stop wordpress toolkit notification emails

Comments

11 comments

  • 24x7server
    Hi, You are getting this as part of the wp-toolkit cron notification. If you want to disable it, check the /etc/cron.d/wp-toolkit-update or /etc/cron* folders for the cron to verify the cron.
    0
  • cPRex Jurassic Moderator
    I would also agree that checking the cron is the way to go for this issue.
    0
  • greektranslator
    Right, the cron at /etc/cron.d/wp-toolkit-update has the following, I am still not clear at how to disable the emails, rather than the cron itself. 0 1 * * * root sleep $((1 + RANDOM \% 5))h $((1 + RANDOM \% 60))m; /usr/bin/yum -y update wp-toolkit-cpanel
    0
  • wintech2003
    Just add >/dev/null 2>&1
    after the cron's command.
    0
  • greektranslator
    Thanks, so it should be like this: 0 1 * * * root sleep $((1 + RANDOM \% 5))h $((1 + RANDOM \% 60))m; /usr/bin/yum -y update wp-toolkit-cpanel >/dev/null 2>&1
    0
  • cPRex Jurassic Moderator
    That looks correct to me. If you'd like to read more about that redirection, I found an excellent article here: Decoding `command > /dev/null 2>&1`
    0
  • wintech2003
    Thanks, so it should be like this: 0 1 * * * root sleep $((1 + RANDOM \% 5))h $((1 + RANDOM \% 60))m; /usr/bin/yum -y update wp-toolkit-cpanel >/dev/null 2>&1

    Yes, this looks correct.
    0
  • greektranslator
    Right, for some reason I am still getting them: Cron sleep $((1 + RANDOM % 5))h $((1 + RANDOM % 60))m; /usr/bin/yum -y update wp-toolkit-cpanel
    0
  • cPRex Jurassic Moderator
    @greektranslator - interesting. Since you're still seeing those it might be best to put in a ticket with our team so we can track down the root of the issue.
    0
  • greektranslator
    This is quite strange indeed. I edit the file, confirm the change. Then the other day, after I get the e-mail, I check the file again, and it is back in its original version.
    0
  • cPRex Jurassic Moderator
    @greektranslator - are you saying the line inside the cron is being reverted after you make the change?
    0

Please sign in to leave a comment.