Queue for Kirby
I was in need for a Queue, so I made one. :)
This plugin adds a basic queue to the Kirby CMS, using Cron and Kirby's flat file system.
It's mostly designed to be used in other plugins, such as the new Webmentions plugin I'm writing.
Github: https://github.com/sebsel/queue-for-kirby
queue::define('job_name', function($job) {
$job->get('param');
// contains 'some data' in the job added below
});
queue::add('job_name', [
'param' => 'some data'
]);