By kawal on
Hi,
As mentioned in the cron handbook i went to Home » Administer » Reports and there found an option as
"Run cron manually" and when i tried to run it it simply should me a error "Cron run failed"
What should i do to run cron ?
Comments
Look at the "Recent log
Look at the "Recent log messages" report. I'd expect if cron is failing, you should see errors there that would point you in the right direction.
I tried using this
I tried using this link
www.mysite.com/cron.php . and then i got one blank white page. I read the cron job handbook and it says white page means that your cron job has started but its been 5 to 6 hrs now but still no log entry as "cron job complete"
The problem is that it's hard
The problem is that it's hard to tell the "cron job running" white screen from the WSOD. There's nothing in your log to indicate something is failing?
I got one error now saying
I got one error now saying "cron has been running over an hour and is most likely stuck"
Nothing more specific than
Nothing more specific than that? I had hoped there'd be a report of a php error that would reveal the source of the problem.
When did cron last run successfully and what's changed in the interim? Have you installed any new modules or changed your host settings/configuration since it last ran?
It was the first time i was
It was the first time i was running cron
Anyway got it fixed..
Thanks for your help.
Cron Problem on Drupal 7 site
Hi Kawal,
I am facing a similar problem on my drupal 7 site.
You have mentioned having got it fixed.
Would appreciate if you could share how you got it done.
Regards
check the settings for modules that uses cron
I was getting the same message, Cron run failed, in a D7 multisite environment. Only one of the sites was experiencing cron run problems. The problem turned out to be the schedule settings I setup in the Backup and Migrate module. I had set a Backup and Migrate schedule to Automatically backup my Entire Site (code, files & DB). Once I disabled this schedule, cron ran successfully.
ReggieW
Check PHP Version compatibility
I had the same issue. Tried all the suggested methods. Didn't work.
In fact cron was running fine, till one fine day.
Checked my PHP settings on the cPanel (host) and changed it to PHP 5.4 (FastCGI) and Voila! It works!!!
JS
PHP 5.4 .0
Checked my PHP settings on the cPanel and changed it to PHP 5.4.0
It works!!!