Cron, on unix at least, allows commands to be scheduled and executed periodically based on a schedule.

In a web application like Known this can be handy for numerous reasons; scheduling a digest email for users for example, or for scheduling posts to appear at a future time.

Elgg had native cron support, but Known does not (yet). So, I wrote a quick plugin…

Introducing the cron scheduler

The plugin provides a /cron/ endpoint, which is called via code in a crontab script. This script makes a GET call to the endpoint, and the plugin then triggers an event accordingly, e.g. cron/daily for once a day.

The script is protected via a secret code – once you enable and configure the cron plugin, you will be provided with an admin code, which you must add to your script. This provides basic protection from someone triggering the cron tab erroneously.

Anyway, kick it about and let me know what you think!

» Visit the project on Github...

One of the features I’d really like to have in Known, is the ability to schedule posts for a later date.

Sometimes I do this via my post by email plugin combined with an email scheduling tool, and at some point I’ll actually get around to sending a pull request to schedule posts natively.

In the meantime, I wrote a quick plugin which makes use of the Buffer service to create a post schedule for your a number of social networking accounts.

When installed and configured, this plugin will give you a new “buffer” syndication channel which will act like a meta channel – posting to multiple social networking accounts configured according to your buffer schedule.

Hope this is useful to some of you!

» Visit the project on Github...

Webhooks are a simple way to glue disparate web services together using standing HTTP protocols in an easy to build for way.

I’d just like to introduce a very simple plugin that will add simple webhook functionality to your known site, allowing the administrator and individual site users to configure a URL that will be pinged whenever a user notification is sent (for example by a comment being received).

I use this to do some back end data analysis stuff on a couple of servers, so hopefully this will be useful to you!

» Visit the project on Github...