cronjob 406 Not Accepted - ModSec disabled already

  • Answered

We've set two cronjobs to run on the domain 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 ?
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