my runcronjobs.php publishes articles which is not yet approved

Author Message

akira imafuji

Friday 30 May 2003 2:45:37 am

I am setting up 3.0-2 demo and approval workflow.
When I run runcronjobs.php, it publishes the articles which is approved and also not-yet-approved.
Is it only the case of me? I run runcronjobs.php through http.

Selmah Maxim

Friday 30 May 2003 3:32:28 am

Hi ,,

When u run it out from internet explorer will publish all the articals, i was wondering as u befor why ?

u must run from php, find where is ur localhost folder, in side it u will find php folder, write the path to php.exe, then go the folder where is ez publish , the make new file call it cron.bat , and inside it wirte :
PATH/TO/php.exe -C runcrobjobs.php

thats it !

what i don`t understanded what if user run it out without admin know ?
should we change the name of the file ?

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

eZ debug

Timing: Jan 18 2025 10:52:02
Script start
Timing: Jan 18 2025 10:52:02
Module start 'layout'
Timing: Jan 18 2025 10:52:02
Module start 'content'
Timing: Jan 18 2025 10:52:03
Module end 'content'
Timing: Jan 18 2025 10:52:03
Script end

Main resources:

Total runtime1.3214 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.3047152.6563
Module start 'layout' 0.00540.0034 741.960939.5234
Module start 'content' 0.00881.3103 781.4844459.6094
Module end 'content' 1.31910.0023 1,241.09388.0938
Script end 1.3214  1,249.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2493160.0002
Check MTime0.00140.1024160.0001
Mysql Total
Database connection0.00080.058110.0008
Mysqli_queries1.278596.7550540.0237
Looping result0.00060.0432520.0000
Template Total1.286497.420.6432
Template load0.00190.146920.0010
Template processing1.284597.204420.6422
Template load and register function0.00020.012610.0002
states
state_id_array0.00120.092910.0012
state_identifier_array0.00060.048820.0003
Override
Cache load0.00150.1143140.0001
Sytem overhead
Fetch class attribute can translate value0.00090.071020.0005
Fetch class attribute name0.00120.094520.0006
XML
Image XML parsing0.00020.018320.0001
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00070.0565100.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs