Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By r00tk1ll on
My cron daemon keeps sending back this error:
line 1: ?php: No such file or directory
line 2: include_once: command not found
line 3: syntax error near unexpected token `DRUPAL_BOOTSTRAP_FULL'
ine 3: `drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);'
and this is what cron.php looks like:
include_once "includes/bootstrap.inc";
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
drupal_cron_run();
permissions are set to 755....
What is going on here???
Comments
Check the handbook page on CRON
The errors look like you've just specified cron.php as the command to run. Check out the Configuring cron jobs handbook page for information on how to properly set this up.
"Nice to meet you Rose...run for your life." - The Doctor
Cron
Your crontab entry should just access http://yoursite.com/cron.php
For example, mine is set to
Pete.
Im using godaddy so they
Im using godaddy so they just allow me to use the "cron manager". I will try changing my current */HTML/USER/cron.php (changed respectively) to http://mysite.com/cron.php and will let you know what happens
Here's my latest
Here's my latest error:
/bin/sh: line 1: http://www.mysite.com/cron.php: No such file or directory
any ideas?
I suspected that would happen
What you need to enter is