InMotion Hosting Support Center

Has anyone used CURL in a cron job?

Category: How To

2013-10-01 4:14 pm EST

Hits: 9,073
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.

You must login before you can ask a follow up question.

You must login before you can submit an answer.



40,371 Points
2013-10-01 4:55 pm EST
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.

Arnel C.

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!