cronjob 406 Not Accepted - ModSec disabled already

Avatar
  • Answered
Hello,

We've set two cronjobs to run on the domain newscraters.com but it seems that something is not working.

I've also disabled ModSec on that domain but still getting the error.

Can you please assist us ?
Avatar
johnpaulb-imhs1
Hello vladlego, Thank you for your question. I checked your cron job, and it is missing a User Agent string, this is required to run a cron job. I recommend viewing the section titled "Using the User Agent String," in our guide on How to run a Cron job. I tested your cron with the additional User Agent information, and it ran successfully without throwing any errors. If you have any further questions, feel free to post them below. Thank you, -John-Paul