I need help setting up cron jobs for my Oxwall site

Asked by:
CrackMasterK / 5 Points
Time:
2013-09-16 5:15 pm EST
Category:
Website
Hits:
3,915
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 04: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
1,808 Points
2013-10-21 08:23 am EST

ANSWERS

0

JacobN
Staff
3,661 Points
2013-09-16 5:42 pm 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

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.