Cron Job Failing at Cjurl

Status
Not open for further replies.

lking31646

New Member
Messages
10
Reaction score
0
Points
0
I am trying to run a script from cron that is failing. Here is the script:

/usr/local/bin/php -f /home/lking316/public_html/CyberBlogger/poster.php >> /home/lking316/public_html/CyberBlogger/logfile.txt>&1

The support staff for the application believe there is a different path for cron php that I should be using. Can you someone take a look at my script and fix.

Error Code I'm getting is below

<br />
<b>Fatal error</b>: Call to undefined function curl_init() in <b>/home/lking316/public_html/CyberBlogger/blogger.class.php</b> on line <b>76</b><br />
=============== START PROCESSING. 04.04.2008 22:50:01 =================
Edit:
I've also tried the command:
php-cron -f /home/lking316/public_html/CyberBlogger/poster.php

and I get the error: /bin/sh: php-cron: command not found
Edit:
My account details:
cPanel name: lking316
Main domain: supperblogger.x10hosting.com
Address of script: /home/lking31646/public_html/CyberBlogger/poster.php
PHP: Intermediate
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Try using

/usr/bin/php-cron
 

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
Great!
Feel free to re-open this thread if you need further assistance.
 
Status
Not open for further replies.
Top