cronjob troubles

Author Message

Georg Franz

Thursday 24 July 2003 8:08:03 am

Hi folks,

I've installed 5 sites with 2 different db's and want to run the cron jobs.

Everything is working fine, if I start the jobs manually, e.g.
php -C runcronjobs.php -smydesign -d

But if I put the jobs to my cronjobs, I will get strange error messages.

*/15 * * * * cd /path/to/ez3/htdocs/;/usr/local/php/bin/php /path/to/ez3/htdocs/runcronjobs.php -q -smydesign -d

---------------------------------------------------------
some error messages:
Error: (eZINI)
Undefined group: 'TransportSettings'

Error: (eZMailNotificationTransport::send())
Error with reciever

Debug: (eztemplate)
Executing compiled template

Warning: (ezi18n)
No translation for file(translation.ts) in context(design/standard/notification): '[%sitename] %classname "%itemname" was published' with comment()

Warning: (ezi18n)
No translation for file(translation.ts) in context(design/standard/notification): 'This email is to inform you that a new item has been publish at %sitename.
The item can viewed by using the URL below.' with comment()

Warning: (ezi18n)
No translation for file(translation.ts) in context(design/standard/notification): '%sitename notification system' with comment()

Error: (eZMySQLDB)
Query error: You have an error in your SQL syntax near ')
ORDER BY address ASC, use_digest DESC' at line 3. Query: SELECT distinct address,use_digest
FROM ezsubtree_notification_rule
WHERE node_id IN ( )
ORDER BY address ASC, use_digest DESC

Notice: (eZMySQLDB::query(0.000 ms) query number per page:2)
SELECT distinct address,use_digest
FROM ezsubtree_notification_rule
WHERE node_id IN ( )
ORDER BY address ASC, use_digest DESC

Warning: (PHP)
Invalid argument supplied for foreach() in /path/to/ez3/htdocs/kernel/classes/notification/handler/ezsubtree/ezsubtreehandler.php on line 158

(and so on ...)

---------------------------------------------------------

Any ideas, what I've done wrong?

Another question: In which time intervals the cron jobs should be executed?

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

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 20:52:53
Script start
Timing: Jan 18 2025 20:52:53
Module start 'layout'
Timing: Jan 18 2025 20:52:53
Module start 'content'
Timing: Jan 18 2025 20:52:55
Module end 'content'
Timing: Jan 18 2025 20:52:55
Script end

Main resources:

Total runtime1.3460 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.2266152.6094
Module start 'layout' 0.00610.0035 741.835939.4141
Module start 'content' 0.00961.3348 781.2500485.9688
Module end 'content' 1.34440.0016 1,267.21888.1875
Script end 1.3460  1,275.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2378160.0002
Check MTime0.00140.1008160.0001
Mysql Total
Database connection0.00090.066410.0009
Mysqli_queries1.297596.3941460.0282
Looping result0.00040.0325440.0000
Template Total1.305797.020.6528
Template load0.00220.165720.0011
Template processing1.303496.834120.6517
Template load and register function0.00010.007110.0001
states
state_id_array0.00180.134110.0018
state_identifier_array0.00170.123120.0008
Override
Cache load0.00190.1387440.0000
Sytem overhead
Fetch class attribute can translate value0.00060.046010.0006
Fetch class attribute name0.00070.054620.0004
XML
Image XML parsing0.00040.031810.0004
class_abstraction
Instantiating content class attribute0.00000.000220.0000
General
dbfile0.00080.0626160.0001
String conversion0.00000.000640.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
11content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs