uawdijnntqw1x1x1
IP : 216.73.216.249
Hostname : webm001.cluster110.gra.hosting.ovh.net
Kernel : Linux webm001.cluster110.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
etiennec
/
www
/
b9da6
/
..
/
ecrire
/
install
/
..
/
auth
/
..
/
action
/
super_cron.php
/
/
<?php /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. * \***************************************************************************/ if (!defined('_ECRIRE_INC_VERSION')) return; /** * Url pour lancer le cron de manière asynchrone si le serveur * le permet * * On se base sur le même code que celui du pipeline affichage final * * Cette fonction est utile pour être appelée depuis un cron UNIX par exemple * car elle retourne tout de suite * * Exemple de tache cron Unix pour un appel toutes les minutes : * "* * * * * curl http://www.mondomaine.tld/spip.php?action=super_cron" */ function action_super_cron_dist(){ // Si fsockopen est possible, on lance le cron via un socket // en asynchrone if(function_exists('fsockopen')){ $url = generer_url_action('cron'); $parts=parse_url($url); $fp = fsockopen($parts['host'], isset($parts['port'])?$parts['port']:80, $errno, $errstr, 30); if ($fp) { $out = "GET ".$parts['path']."?".$parts['query']." HTTP/1.1\r\n"; $out.= "Host: ".$parts['host']."\r\n"; $out.= "Connection: Close\r\n\r\n"; fwrite($fp, $out); fclose($fp); return; } } // ici lancer le cron par un CURL asynchrone si CURL est présent // TBD return; } ?>
/home/etiennec/www/b9da6/../ecrire/install/../auth/../action/super_cron.php