WordPress.org

Ready to get started?Download WordPress

Forums

Crony Cronjob Manager
Plugin could use documentation (3 posts)

  1. Mike
    Member
    Posted 2 years 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
    Plugin Author

    Posted 2 years 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
    Plugin Author

    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags