Forums / Developer / cronjob troubles

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