Hello,
On my installation i using de cron task (debian with wget) but for test i going to the url with my navigator and i've a white page with this error in my log apache (access.log)
83.152.xxx.xxx - - [01/Aug/2012:08:27:35 +0200] "GET /elgg/pg/cron/hourly HTTP/1.1" 301 447 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1"
83.152.xxx.xxx - - [01/Aug/2012:08:27:36 +0200] "GET /elgg/cron/hourly HTTP/1.1" 200 403 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1"
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- Fetisso@fetisso
Fetisso - 0 likes
- Fetisso@fetisso
Fetisso - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- Go to your site admin panel
- Enable the garbage collector and logrotate plugins.
- Set the settings for these plugins as monthly
- and then hit http://sitename.com/cron/monthly in your browser and you will get the output.
- Brett@brett.profitt
Brett - 0 likes
- Fetisso@fetisso
Fetisso - 0 likes
You must log in to post replies.Are you using a version of Elgg under 1.8.6 and have walled garden enabled?
No i using 1.8.8
When i using a http://mysite/pg/cron/hourly in my naviguateur i redirecting to http://mysite/cron/hourly with white page.
If you are on 1.8 series the correct cron URL is http://sitename.com/cron/interval where interval can be minute, hourly, daily, monthly, yearly etc.. You are getting a white screen because no cron job may be registered for hourly task.
Here is a tutorial on how to setup cronjobs for elgg.
This isn't a white page because of an error; it's just a white page because there's no content. Cron pages don't output anything if nothing has run. If you look at the status codes of your server you'll see /elgg/pg/cron/hourly is causing a 301 redirect to /elgg/cron/hourly, which then is a 200. 200 means everything is ok.
Ok, thanks. It's ok now.
But the documentation http://docs.elgg.org/wiki/Cron does not speak about the relationship between these plugins and the tasks cron.