New cronjob

Author Message

David Santiso

Sunday 21 August 2011 7:02:15 am

Hi,

I want to create a new cronjob, run once a week and change a field of all published objects belonging to a particular class.

Is there a tutorial available that can continue to develop my new cronjob?

Thanks,

David

Hamdi Laadhari

Tuesday 23 August 2011 2:40:43 am

Why don't you mimic the existing ones, why don't you browse the projects offering cronjobs.

 

You can use worklows, or even content edit handler to achieve your goal

Certified eZ Publish Entreprise 4.5
http://www.laadhari.fr

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 29 2025 13:43:55
Script start
Timing: Jan 29 2025 13:43:55
Module start 'layout'
Timing: Jan 29 2025 13:43:55
Module start 'content'
Timing: Jan 29 2025 13:43:55
Module end 'content'
Timing: Jan 29 2025 13:43:55
Script end

Main resources:

Total runtime0.0125 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.1406151.1953
Module start 'layout' 0.00470.0021 740.335936.6094
Module start 'content' 0.00690.0042 776.945389.9219
Module end 'content' 0.01110.0014 866.867229.9766
Script end 0.0125  896.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002519.9668140.0002
Check MTime0.00119.0446140.0001
Mysql Total
Database connection0.00064.517610.0006
Mysqli_queries0.001814.614430.0006
Looping result0.00000.080110.0000
Template Total0.00118.710.0011
Template load0.00086.667710.0008
Template processing0.00021.974810.0002
Override
Cache load0.00064.900710.0006
General
dbfile0.00021.934780.0000
String conversion0.00000.047740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs