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
/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: