Help with Cron command line

The forum to discuss about how to generate reports from seo panel

Moderators: hellow0rld, eugene, sendtogeo

Help with Cron command line

Postby stanusj » Fri Jul 12, 2013 6:51 pm

Hello there, I am having trouble setting up cron for report generation.

I have used the following cron commands, and it's associated response.. please help me structure the cron command syntax correctly.

Command Line:
usr/bin/php /home/pivotopt/public_html/seo/cron.php
Response:
/bin/sh: usr/bin/php: No such file or directory

Command Line:
usr/bin/php /opt/lampp/public_html/seo/cron.php
Response:
/bin/sh: usr/bin/php: No such file or directory

Command Line:
php /home/pivotopt/public_html/seo/cron.php
Response:
Status: 404 Not Found
Content-type: text/html
No input file specified./seo/cron.php
stanusj
 
Posts: 6
Joined: Wed Apr 10, 2013 1:10 am

Re: Help with Cron command line

Postby seopanel_forum » Fri Jul 12, 2013 7:07 pm

Can you please provide an screenshot of your cron job settings?
Thanks,
Seo Panel Team
http://www.seopanel.in
seopanel_forum
Site Admin
 
Posts: 1349
Joined: Sat Apr 17, 2010 6:42 pm
Location: India

Re: Help with Cron command line

Postby stanusj » Fri Jul 12, 2013 7:11 pm

Here is the screen shot
http://www.screencast.com/t/sfQZOoYDy2l
stanusj
 
Posts: 6
Joined: Wed Apr 10, 2013 1:10 am

Re: Help with Cron command line

Postby bob_the_monkey » Tue Jul 16, 2013 8:25 am

Hey,

Have you tried using a full path to php? It looks like you're missing the '/' for /usr/bin/php from your initial post.

It should really be something like this:

/usr/bin/php /home/pivotopt/public_html/seo/cron.php
bob_the_monkey
 
Posts: 12
Joined: Mon Jul 01, 2013 3:07 pm


Return to Seo Panel Reports

Who is online

Users browsing this forum: No registered users and 2 guests