I need help setting up cron jobs for my Oxwall site

Asked by:
CrackMasterK / 5 Points
Time:
2013-09-17 12:15 am EST
Category:
Website
Hits:
4,372
I have set up a cron job and get this.

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

100 323 100 323 0 0 367 0 --:--:-- --:--:-- --:--:-- 367
100 323 100 323 0 0 367 0 --:--:-- --:--:-- --:--:-- 0
<html><head><title>Error 406 - Not Acceptable</title><head><body><h1>Error 406 - Not Acceptable</h1><p>An error has occurred. Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner.</p></body></html>

my site is
http://www.cimmarian.com/social

To ask this user for more information, please first login.

To submit an answer, please login.

Did you ever get this figured out? I am having the same issue and have yet to get a clear answer. It would be great to know what you did. - Thanx
lvgauff
0 Points
2013-10-19 11:18 pm EST
Hello Ivaguff,

Changing your cron jobs to reference the file as Jacob has provided in his answer should fix the issue for you.
JeffMa
2,342 Points
2013-10-21 03:23 pm EST

ANSWERS

0

JacobN
Staff
3,713 Points
2013-09-17 12:42 am EST
Hello CrackMasterK, and thanks for your question.

It appears you are running into a ModSecurity error, and actively editing your cronjob. I see that you at first had:

* * * * * php -q http://www.cimmarian.com/...


I see that you've now adjusted that to:

* * * * * php -q public_html/...


Are you still having ModSecurity issues now?

- Jacob

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

How to Run a Cron Job
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.
}