run.php 825 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * This script should be called by a properly set cron process on your server.
  4. * For more information, check the installation guide in the documentation
  5. * folder.
  6. * Add your own executable scripts below the inclusion of notification.php.
  7. *
  8. * @package chamilo.cron
  9. */
  10. /**
  11. * Settings that will influence the execution of the cron tasks.
  12. */
  13. //ini_set('max_execution_time',300); //authorize execution for up to 5 minutes
  14. //ini_set('memory_limit','100M'); //authorize script to use up to 100M RAM
  15. /**
  16. * Included cron-ed tasks. You might want to turn error-logging off by
  17. * commenting the first and last line of this section.
  18. */
  19. error_log('[chamilo][cronjob] Starting cron jobs as process '.getmypid());
  20. require_once 'notification.php';
  21. error_log('[chamilo][cronjob] Ending cron jobs of process '.getmypid());