Has anyone used CURL in a cron job?

Avatar
  • Answered
I am trying to get a cron job running, but using lynx to execute the task gets a Mod Security error 406. The vendor of the package that needs the cron task suggested using CURL instead. I know nothing about CURL. The vendor suggested checking for info from the hosting company.

I have turned off Mod Security in cPanel, but the error continues.
Avatar
Arn
Hello Dfgrbac2, Thanks for the question! We actually have a tutorial on setting up a CRON job with an example of using CURL. Running a CRON job explains how you can setup a cron job and also shows how you can use CURL. You can find other examples here: examples on using CURL. I hope this provides the information that you require! Please let us know if you have any further questions or comments. Regards, Arnel C.