I noticed that on my_website/admin/cron page (Elgg3.3.2) only certain Cron intervals run for example fiveminute, fifteenminute, halfhour, and hourly. But daily, weekly, and monthly do not. Why is that?
Explanation or clarification would be greatly appreciated.
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.
Sounds like something that's causing me a problem. When I try to clear the cache, I get this error:
Where the access rights to the folder
are at the root but not at the webserver. If I disable the Cron, everything works fine.
Can you help me figure out how to set the permissions to the cron account and webserver same?
Thanks for help
But it logs for other intervals such as fiveminute, halfhour, hourly, etc. EXCEPT daily, weekly, or my custom intervals.
Run the cron jobs from the crontab of the webserver account, that's easiest. Otherwise sudo -u <webserver account> elgg-cli ....
@ronnim Read this also.
@seri_ng Do you have any of the things I advised you to do?
@RvR No I do not have 'elgg_log( )' in my function BUT that still does not explain other fiveminute cron hook though. When I tested using fiveminute interval rather than daily interval, without 'elgg_log( )' in my function it logged the cron details.
Let's start from beggining.
Configs:
My webserver name is www-data
My Elgg is installed in /var/www/elgg
My PHP is executed from /usr/bin/php
Cronjob installation:
Run crontab as webserver user:
Set only 1 cronjob:
Save crontab.
Check it:
Make cron trigger in your plugin:
start.php / Bootstrap class:
Thanks for step-by-step instructions RvR!
- Previous
- 1
- 2
- Next
You must log in to post replies.