Forums

Crony Cronjob Manager
Plugin could use documentation (3 posts)

  1. mobius5150
    Member
    Posted 8 months ago #

    Hi there,

    I was wondering if you had any documentation available for interacting with this plugin programmatically -- I'm currently looking to build a plugin that would make use of this or other plugins for scheduling jobs, however I'm not about to dig through source code trying to piece things together to do so.

    If you don't have any, would you consider creating some? It would, I believe, be mutually beneficial.

    Thanks,
    Mike

    http://wordpress.org/extend/plugins/crony/

  2. Scott Kingsley Clark
    Member
    Posted 8 months ago #

    Sorry about the lack of documentation, I built the plugin in my free time and I've been focusing on Pods more lately (http://podsframework.org/), but I'm planning on swinging back and putting together documentation for my other plugins once the new Pods site is done and has the new documentation system I'm building in it. I can then use that same system for my other plugins and hopefully get some useful documentation, tutorials, and/or videos up.

  3. Scott Kingsley Clark
    Member
    Posted 8 months ago #

    This plugin also doesn't have an API and I hadn't planned on that kind of use of it, I can add that as a feature if you'd like, but the functionality in the plugin could be referenced if you looked at the main code of crony.php to see how it runs jobs, it really just stores them in wp_crony_jobs, and then schedules the jobs themselves with the default 'wp_cron' functionality (http://codex.wordpress.org/Function_Reference/wp_cron)

    I believe there's a function in the plugin that I use to easily schedule / unschedule things, you could piggy back off of that.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags