34 subscribers
2 photos
795 links
The best of Elgg: latest news, development, themes, plugins, Q&A, discussions, sites and tools for elggers.

Chat/Group: @elggchat
Contacts: @nik_o_las
Download Telegram
to view and join the conversation
Cron #Elgg 3 - Full tutorial


crontab -u www-data -e

* * * * * /usr/bin/php /var/www/site/www/vendor/bin/elgg-cli cron -q

-q flag will supress the output. You can remove it if you want cron logs to be saved on your server (that will flood your server inodes though).


For testing you can use an -i and -f flags.

-i for interval name,
-f for force run even if job is not due.

🔸Note that you no longer need to setup a gazillion jobs for each period.

You only need to setup one cron job that hits the main command every minute.
Elgg's cron handler will determine, which cron handlers are due and will run them.


php /var/www/site/www/vendor/bin/elgg-cli cron -i hourly -f


crontab -u www-data -l
New announcement in the project Elgg Core 4

Elgg 4 project added

Dear Elgg translation contributors,

We added the translation project for #Elgg4 as we're preparing for the first beta release of Elgg 4.0.

Please check the translations for your language during the beta period so we can also update the translations as we release more versions of Elgg 4.

Thank you for contributing to Elgg.

Elgg Core team

via https://www.transifex.com/elgg/elgg-core-4/announcements/12627/