Well, some plugins or actions need to be done regularly. Like PostMan (blogging by email). And most of us don't have the opportunity to use the cron from the host. No problems. With the assumption that you get visitors, it will be possible to start batches by them! So how will this plugin work? Well the rough sketch: handle an event that gets called when a visitor opens your website. This needs to be done after showing the page, otherwise someone will have to wait for the batch to end, we don't want that. Look in the plugin table batch for actions that need to be done. Batches will have:
This will not be a dummy plugin since it's tricky to set things up. especially when you call a new php file, you need to know what you are scripting. But then again, when an other plugin needs a batch, they just look if this one is installed, if yes, create a batch record during install and you're set. But that's all future music for now. But I'll try to write this one in near future.