[horde] grandchild failed in cron
Reindl Harald
h.reindl at thelounge.net
Mon Mar 5 12:08:49 UTC 2012
Am 05.03.2012 12:56, schrieb Andreas Mauser:
> In crontab I have:
>
> */5 * * * * root PHP_PEAR_SYSCONF_DIR=/var/www/mauser.info/mailoffice
> php -d include_path=/var/www/mauser.info/mailoffice/pear/php
> /var/www/mauser.info/mailoffice/pear/horde-alarms
>
> and I get a:
>
> /USR/SBIN/CRON[4915]: (CRON) error (grandchild #4916 failed with exit
> status 127)
> and:
> /bin/sh: root: not found
>
> Removing 'root' at the line beginning I get:
> PHP Fatal error: Call to a member function setObs() on a non-object in
>
> Anything to fix that?
why do you not set environment-variables at the top
of crontab or use a shell-script as wrapper?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.horde.org/archives/horde/attachments/20120305/bf264c1d/attachment.bin>
More information about the horde
mailing list