[CronjobPart-workflow] doesn't work

Author Message

Pascal France

Friday 12 May 2006 2:39:14 am

Hi,

As told here:
http://ez.no/products/ez_publish/documentation/installation/the_cronjob_script

if I set:

#[CronjobPart-workflow]
Scripts[]=workflow.php

only workflow.php should be executed. But even I clear all caches by hand, all scripts are executed:

PHP Warning:  mime_magic: type regex            BEGIN[[:space:]]*[{]    application/x-awk invalid in Unknown on line 0
Running cronjobs/workflow.php
Checking for workflow processes
Status list

0 out of 0 processes was finished

Running cronjobs/notification.php
Starting notification event processing
Done

Running cronjobs/linkcheck.php
Checking link ...
check-http://www.linuxorable.net/xxxxxxx valid
check-http://www.linuxorable.net/xxxxxxxxxx valid
check-http://www.linuxorable.net/xxxxxxx valid
check-http://www.linuxorable.net/xxxxxxxx valid
check-http://www.linuxorable.net/xxxxxxxx valid
check-http://www.linuxorable.net/xxxxxxxxx valid
check-http://www.linuxorable.net/xxxxxxxxxxx valid
check-http://www.linuxorable.net/xxxxxxxxx valid
check-"http://www.linuxorable.net/xxxxxxxx invalid
All links have been checked!

Running cronjobs/unpublish.php

Running cronjobs/rssimport.php
RSSImport test: Starting.
RSSImport test: Invalid RSS document.

Running cronjobs/indexcontent.php
Starting processing pending search engine modifications
Done

Running cronjobs/hide.php

Running cronjobs/subtreeexpirycleanup.php

Cordially,

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Kristian Hole

Friday 12 May 2006 2:53:10 am

If you set:

[CronjobPart-workflow]
Scripts[]=workflow.php

and use

php runcronjobs.php workflow

It should run only the workflow script.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Rodrigo Pinheiro

Friday 12 May 2006 3:02:58 am

Hi,

You should set in settings/siteaccess/<site>/cronjob.ini.append.php the following code:

[CronjobSettings]
Scripts[]
Scripts[]=workflow.php
...

Scripts[] resets the array defined at settings/cronjob.ini. For more information, check the following link:

http://ez.no/community/bugs/cronjob_ini_append_php_cannot_delete_entries_from_cronjob_ini

Best regards

Pascal France

Friday 12 May 2006 4:13:14 am

@Kristian

Thinks, it works fine.

@Rodrigo

I tried to put a cronjob.ini.append.php override in both mysite siteaccess and mysite_admin with:

[CronjobPart-workflow]
Scripts[]
Scripts[]=workflow.php

and it doesn't work. All scripts are executed.
It's the same thing if I put the same [CronjobPart-workflow] setting in cronjob.ini

Cordially

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.