Forums / Extensions / eZ Newsletter / error running cronjob script

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

error running cronjob script

Author Message

andre müller

Thursday 16 August 2007 9:33:11 am

hi, thats what i get, when i run the 'php runcronjobs.php -s newsletter_admin send_newsletter':

Using siteaccess newsletter_editor for cronjob
Running cronjob part 'send_newsletter'
Running extension/eznewsletter/cronjobs/build_list.php
Forcing to steal the mutex lock: extension/eznewsletter/cronjobs/build_list.php
Stealing mutex. Old process has run too long.
Failed to steal cronjob part lock.

Running extension/eznewsletter/cronjobs/send_newsletter.php
Forcing to steal the mutex lock: extension/eznewsletter/cronjobs/send_newsletter.php
Stealing mutex. Old process has run too long.
Failed to steal cronjob part lock.

what is that error meaning? thanks for a hint..

Tobias Struckmeier

Thursday 16 August 2007 10:01:55 am

Hi andre,

the reason is simply that Exponential prevents the parallel running a cronjob two times at once.
Maybe you execute the cronjob too often.
When you have a huge list of subscribers and/or a small server/mailserver it needs time to send out all newsletters.
Exponential will try to force it after 12hours of running time so I assume the sendout is still running.

Have you checked the php error log?
Have you checked Exponential logfiles for errors?
Are there php cli processes running for a long time?
Do you run it on linux or windows?

cheers
Tobias

andre müller

Friday 17 August 2007 1:23:20 am

dear tobias, thanks for the quick and helpful reply.
stupid me: i had completely wrong file ownerships for my ez root directory. ev works fine now and i'm looking forward to use this fabulous extension.