Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
cron system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Jul 2011 at 14:08 UTC
Updated:
22 Apr 2021 at 22:28 UTC
Jump to comment: Most recent
Comments
Comment #1
franzAlthough a similar solution can be applied to core, I'm wondering if it makes sense. Whether a module implements hook_url_inbound_alter() is not really the issue. The issue is with any module implementing drupal_goto() anywhere in code where cron is going to pull. Could be elsewhere, like the nodeapi or hook_init(). I think this is the responsibility of the implementing module to make checks.
On the other side, there could some check on drupal_goto() or some easy way to determine if cron is running #888998: Add drupal_cron_is_running()
Comment #10
quietone commenteddrupal_path_initialize was removed from Drupal 8 in #1269742: Make path lookup code into a pluggable class. This is still relevant for Drupal 7.