
If you want to see what’s going on when Drupal’s cron.php script runs, one thing you can do is to set a breakpoint in a module’s implementation of the hook_cron() function, and call cron.php directly from your debugger. There you can step through your breakpoints, examine variables, and hopefully zero in on your problem.