From ef0498f8a4a45537f949a56cb3c223d3e897ffba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Fri, 14 Nov 2008 22:26:18 +0000
Subject: [PATCH] using curl instead of lynx

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1000 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/cron/templates/default/croninfo-tpl.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/cron/templates/default/croninfo-tpl.php b/modules/cron/templates/default/croninfo-tpl.php
index e243363d7..fc265437c 100644
--- a/modules/cron/templates/default/croninfo-tpl.php
+++ b/modules/cron/templates/default/croninfo-tpl.php
@@ -13,7 +13,7 @@ $this->includeAtTemplateBase('includes/header.php');
 		
 		foreach ($this->data['urls'] AS $url ) {
 			echo "# " . $url['title'] . "\n";
-			echo "" . $url['int'] . " /usr/bin/lynx -source " . $url['href'] . "\n";
+			echo "" . $url['int'] . " curl --silent --compressed http://example.com/cron.php " . $url['href'] . " > /dev/null 2>&1\n";
 		}
 		
 		?>
-- 
GitLab