Forums / Extensions / eZ Newsletter / error running cronjob script
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 ez publish 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.eZ Publish 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 ez publish logfiles for errors? Are there php cli processes running for a long time?Do you run it on linux or windows?
cheersTobias
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.