Forums | Mahara Community

Support /
cron.php


anonymous profile picture
Account deleted
Posts: 3

28 May 2010, 9:48

Hi,

when I try to access cron.php, I get the following error:

curl -s http://localhost/mahara/lib/cron.php
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /mahara/lib/cron.php
on this server.</p>

The path should be correct. I also tried this from another machine.

I don't see any problems regarding the UNIX file system permissions:

drwxr-xr-x 11 root root  4096 28. Mai 16:20 lib

-rw-r--r--  1 root root 13853  2. Apr 15:52 cron.php

 

Finally I used php-cli:

php5 cron.php
[DBG] f3 (lib/cron.php:62) ---------- cron running Fri, 28 May 2010 16:46:28 +0200 ----------

Is it ok to use cron.php that way or should I try to fix the access via HTTP?

Thank you for any help!

1 result