Thursday 18 August 2011 7:28:42 am
At the moment a cronjob can be run below exactly one siteaccess. This causes several problems, where two important one are:
- When sending for example Emails, these emails will be sent in exactly one language (the one from the siteaccess used by the runcronjobs script)
- It is not easily possible to use one eZ Publish installation for more than one customer, because typically customers have different requirements (also concerning the cronjobs and their execution). If customer A needs a cronjob, customer B will also get it.
What we need are two improvements here:
- Especially for the Emails it should be possible to get the preferred language (and perhaps also other information) from the user object itself instead of the siteaccess.
- With respect to the workflows an information about the siteaccess below which an event has been created should be stored. The workflow should then only execute events having the same siteaccess as the one the runcronjobs script currerntly uses. (Yes, when thinking about an admin interface one must think about a solution).
In principle all cronjob scripts and perhaps also other shell scripts should be investigated, to see how they could be improved so that they can be executed in parallel at the same time but using a different siteaccess.
No reply yet!
You must be logged in to post messages in this topic!
Timing: | Jan 30 2025 06:54:55 |
Script start | |
Timing: | Jan 30 2025 06:54:55 |
Module start 'layout' | |
Timing: | Jan 30 2025 06:54:55 |
Module start 'content' | |
Timing: | Jan 30 2025 06:54:55 |
Module end 'content' | |
Timing: | Jan 30 2025 06:54:55 |
Script end |
Total runtime | 0.0224 sec |
Peak memory usage | 6,144.0000 KB |
Database Queries | 3 |
Checkpoint | Start (sec) | Duration (sec) | Memory at start (KB) | Memory used (KB) |
---|---|---|---|---|
Script start | 0.0000 | 0.0055 | 588.3750 | 151.2422 |
Module start 'layout' | 0.0055 | 0.0035 | 739.6172 | 220.7422 |
Module start 'content' | 0.0091 | 0.0120 | 960.3594 | 997.8125 |
Module end 'content' | 0.0211 | 0.0012 | 1,958.1719 | 29.9766 |
Script end | 0.0224 | 1,988.1484 |
Accumulator | Duration (sec) | Duration (%) | Count | Average (sec) |
---|---|---|---|---|
Ini load | ||||
Load cache | 0.0021 | 9.5866 | 14 | 0.0002 |
Check MTime | 0.0009 | 4.0200 | 14 | 0.0001 |
Mysql Total | ||||
Database connection | 0.0006 | 2.5426 | 1 | 0.0006 |
Mysqli_queries | 0.0038 | 16.7542 | 3 | 0.0013 |
Looping result | 0.0000 | 0.0352 | 1 | 0.0000 |
Template Total | 0.0009 | 4.2 | 1 | 0.0009 |
Template load | 0.0007 | 3.1316 | 1 | 0.0007 |
Template processing | 0.0002 | 1.0812 | 1 | 0.0002 |
Override | ||||
Cache load | 0.0005 | 2.1091 | 1 | 0.0005 |
General | ||||
dbfile | 0.0023 | 10.4228 | 8 | 0.0003 |
String conversion | 0.0000 | 0.0277 | 4 | 0.0000 |
Note: percentages do not add up to 100% because some accumulators overlap |
Usage | Requested template | Template | Template loaded | Edit | Override |
---|---|---|---|---|---|
1 | print_pagelayout.tpl | <No override> | extension/community/design/community/templates/print_pagelayout.tpl | ||
Number of times templates used: 1 Number of unique templates used: 1 |
Time used to render debug report: 0.0001 secs