[kronolith] File reminders.php receive by mail ??

Jean-François Sénéchal jean-francois.senechal at marche.be
Tue Nov 22 00:59:33 PST 2005


Hello,

I add the following line in my crontab  :

*/5 * * * * /usr/bin/php /var/www/kronolith/scripts/reminders.php

But the file will not execute, instead I receive this mail every 5 
minutes :
?

My config :

 Horde 3.0.6
 IMP H3 (4.0.4)
 Kronolith H3 (2.0.5)
 Debian

Thanks !


-------- Message original --------
Sujet: 	Cron /usr/local/php /var/www/kronolith/scripts/reminders.php
Date: 	Tue, 22 Nov 2005 09:50:02 +0100
De: 	root at intranet (Cron Daemon)
Pour: 	root at intranet.marche.be



/**
 * $Horde: kronolith/scripts/reminders.php,v 1.17.10.2 2005/06/12 14:24:39 chuck Exp $
 *
 * Copyright 2003-2005 Charles J. Hagenbuch <chuck at horde.org>
 *
 * See the enclosed file COPYING for license information (LGPL).  If you
 * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
 */

// Find the base file path of Horde.
@define('HORDE_BASE', dirname(__FILE__) . '/../..');

// Find the base file path of Kronolith.
@define('KRONOLITH_BASE', dirname(__FILE__) . '/..');

// Do CLI checks and environment setup first.
require_once HORDE_BASE . '/lib/core.php';
require_once 'Horde/CLI.php';

// Make sure no one runs this from the web.
if (!Horde_CLI::runningFromCLI()) {
    exit("Must be run from the command line\n");
}

// Load the CLI environment - make sure there's no time limit, init
// some variables, etc.
Horde_CLI::init();

// Now load the Registry and setup conf, etc.
$registry = &Registry::singleton(HORDE_SESSION_NONE);
$registry->pushApp('kronolith', false);

// Include needed libraries.
require_once 'Date/Calc.php';
require_once 'Horde/Date.php';
require_once 'Horde/Scheduler.php';
require_once KRONOLITH_BASE . '/lib/Kronolith.php';
require_once KRONOLITH_BASE . '/lib/Scheduler/kronolith.php';

// Create a share instance. This must exist in the global scope for
// Kronolith's API calls to function properly.
require_once 'Horde/Share.php';
$shares = &Horde_Share::singleton($registry->getApp());

// Create a calendar backend object. This must exist in the global
// scope for Kronolith's API calls to function properly.
$kronolith = &Kronolith_Driver::factory();

// Get an instance of the Kronolith schedulerr.
$reminder = &Horde_Scheduler::unserialize('Horde_Scheduler_kronolith');

// Start the daemon going.
$reminder->run();



-- 
- 
Jean-François Sénéchal
Webmaster - Ville de Marche-en-Famenne
22, rue des Carmes  - 6900 Marche-en-Famenne
Tel : +32 84 327055 - Fax : +32 84 327072 http://www.marche.be - http://cst.marche.be

--------------------------------------------
Ce message n'engage aucunement la Ville et reste informel.
Tout courrier officiel doit être confirmé par lettre et revêtu de la
signature d'un agent dûment mandaté.
Cet E-mail et tous les fichiers transmis par lui sont confidentiels et
destinés seulement à l'utilisation de l'individu ou de l'entité à qui ils
sont adressés. Si vous avez reçu cet E-mail par erreur veuillez informer le
gestionnaire du système.
------------------------------------------ 



More information about the kronolith mailing list