[support] cron overwriting changes
Metzler, David
metzlerd at evergreen.edu
Fri Aug 10 15:40:40 UTC 2012
Hook_cron implementations are in the .module files for each module. If
the module is named mymodule then you're looking for the mymodule_cron
function in the mymodule.module file, which can be found in either
sites/all/modules folders or modules folders depending on whether the
module is a core module.
-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Katie Legere
Sent: Friday, August 10, 2012 7:47 AM
To: support at drupal.org
Subject: Re: [support] cron overwriting changes
I will do this - a question though.. where do I find the individual
hook_cron implementations? I'm new-ish to Drupal but not new to php
programming.
Katie
________________________________________
From: support-bounces at drupal.org [support-bounces at drupal.org] on behalf
of Earnie Boyd [earnie at users.sourceforge.net]
Sent: Friday, August 10, 2012 10:42 AM
To: support at drupal.org
Subject: Re: [support] cron overwriting changes
On Thu, Aug 9, 2012 at 3:27 PM, Katie Legere wrote:
> I have inherited a drupal site and decided to put a poll on the front
page.
> I moved it in the blocks and it appeared as expected but when the cron
runs
> it disappears. Why would this be?
Are you just executing cron.php in your crontab? Try adding the
Elysia Cron module and controlling the hook_cron implementations
individually until you find the one that is causing the problem.
Executing cron.php itself shouldn't cause this but perhaps the site
has a custom module that does something weird.
--
Earnie
-- https://sites.google.com/site/earnieboyd
--
[ Drupal support list | http://lists.drupal.org/ ]
--
[ Drupal support list | http://lists.drupal.org/ ]
More information about the support
mailing list