Closed (fixed)
Project:
Drupal core
Version:
6.26
Component:
other
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2008 at 22:27 UTC
Updated:
21 Nov 2012 at 19:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
abqaria commentedI get the same problem
Do u have a solution ?
Comment #2
asimmonds commentedAre you attempting to run cron.php via command line php? That method is not really supported unless you know how to configure the command line php environment properly. Please read http://drupal.org/node/117351 and http://drupal.org/cron for help on the supported method.
Comment #3
abqaria commentedthanks
Comment #4
ainigma32 commented@marcvangend: Were you able to resolve this issue as well?
- Arie
Comment #5
marcvangendNo, I went with poormanscron for that site.
Comment #6
ainigma32 commentedWell as ling as it works right ;-)
If you're not going to pursue this any further, would you mind setting this issue to fixed?
- Arie
Comment #7
marcvangendI'll close the issue, but I'm not setting it to fixed because the original problem was never solved.
Comment #8
pauljb commentedI had the same problem, with the same error messages:
this line in crontab fixed it:
cd /var/www/vhosts/mydomain.nl/httpdocs/ ; /usr/bin/php -q cron.php
Comment #9
Syph commentedHi,
this is not my fix I found it a week or so back but cant find the author to give credit..
Make a new file called cron2.php and add this inside and upload to your http directory
point your cron to this file and it will run your drupal cron
Comment #10
vindesh commentedI had the same problem, with the same error messages on godaddy.com hosting:
I have try crontab command and fixed it:
0-59 * * * * /usr/bin/curl http://www.mydomain.com/cron.php
running successfully for me...
Comment #11
vindesh commentedYou can try another crontab command:
PHP command: use "php" or "/usr/bin/php"
php /var/www/vhosts/mydomain.com/httpdocs/cron.php
php -q /var/www/vhosts/mydomain.com/httpdocs/cron.php
cd /var/www/vhosts/mydomain.com/httpdocs/ ; /usr/bin/php -q cron.php
php /var/www/vhosts/mydomain.nl/httpdocs/cron.php &> /dev/null
php -q -f /var/www/vhosts/mydomain.com/httpdocs/cron.php
WGET command:
use "wget" or "/usr/bin/wget"
/usr/bin/wget http://www.mydomain.com/cron.php
wget http://www.mydomain.com/cron.php -O /dev/null
wget -O /dev/null www.mydomain.com/cron.php
/usr/bin/wget -O - -q -t 1 www.mydomain.com/cron.php
/usr/bin/wget http://www.mydomain.com/cron.php >/dev/null 2>&1
CURL:
/usr/bin/curl http://www.mydomain.com/cron.php
also see http://drupal.org/node/23714