Ver Mensaje Individual
  #6 (permalink)  
Antiguo 14/01/2009, 11:39
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Procesar por vencimiento

Es algo simple:
Código php:
Ver original
  1. <?php
  2. while(true) {
  3.       // procesas
  4.       sleep(1);
  5.  
  6.       if(hay_un_error_fatal()) {
  7.              break;
  8.       }
  9. }

Esto lo corres desde el shell de tu sistema operativo, usando el interprete php:
Código:
php archivo.php
Saludos