E-Mail from cron job asyncservices.php every 5 minutes

View: New views
1 Messages — Rating Filter:   Alert me  

E-Mail from cron job asyncservices.php every 5 minutes

by marckburgers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This week I installed Egroupware great product!

I first installed the cron job as wwwrun which does not work because my system is highly secure
configured.

Now the asyncservices.php runs as root, alerts are sent but also an e-mail with this content:

Greatings from cron ;-)

I modified the asyncservices.php temporarely:

//$returncode =
$GLOBALS['egw']->send->msg('email',$to,$subject='Asynchronous timed services','Greatings from cron ;-)');

                        //if (!$returncode)     // not nice, but better than failing silently
                        //{
                        //      echo "<p>bocalendar::send_update: sending message to '$to' subject='$subject' failed !!!<br>\n";
                        //      echo $GLOBALS['egw']->send->err['desc']."</p>\n";
                        //}

Please advise!

Marck