hi!
I have the same problem as Volodya a few years ago. I'd like to change a blog's status from "draft" to "published" automatically by using a cron job.
The background is that I'm writing blogs during an online course and I'd like my students to read them step by step, e.g. one on Monday and one on Friday. However, I'm not always here for publishing these blogs but have them all already saved as drafts, that's why I want them to be published automatically.
Unfortunately I'm only a user and not a developer. That's why I can't do coding :(
I have the idea of letting the code search for the specific number or title of the blog and "simply" set the status from "draft" to "published". And afterwards this code will be activated by a cron job from outside.
Can anyone help me please and write this code for me?
Thanks a lot! :)
Britta
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.
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- http://learn.elgg.org/en/2.0/admin/cron.html
- http://learn.elgg.org/en/2.0/guides/cron.html?highlight=cron
- Cim@manacim
Cim - 0 likes
You must log in to post replies.You need to write a plugin / hire a dev for this. While creating a blog, set the publication date and using a daily cron job you can find all blogs scheduled for that day and can publish it. Not something difficult, but needs some knowledge on elgg and coding.
Can't you just login using the admin account from home?