Git Product home page Git Product logo

debug-bar-cron's People

Contributors

aaronjorbin avatar butuzov avatar helen avatar jrfnl avatar tollmanz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

debug-bar-cron's Issues

Add "console" of sorts to provide feedback

DBC needs a console to report success/failure when running or deleting events, as well as for reporting general cron issues. This should be built with a true console (i.e., feedback on function execution) in mind that will come in later versions.

Report diagnostic information

The recent update that shows missed events indicates that there may be an issue with cron in the installation. I would like to take this a bit further and try to actually diagnose the issue should one be present. I would need to research would exactly to check for, but this could be a very powerful debug feature.

Add execute on demand button

It is very helpful in the debug process to be able to execute a cron callback function on demand. I envision a button next to each event that fires the function when clicked. Ideally, debug output would be generated as well. Experiments of this nature have begun in the develop branch.

PHP error on line 84

[20-Mar-2014 23:43:26 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /vagrant/content/plugins/debug-bar-cron/class-debug-bar-cron.php on line 84

Version 0.1.2 from GitHub causes all Debug Bar functionality to stop working

I downloaded the version from the WordPress plugin repo and it worked fine
https://wordpress.org/plugins/debug-bar-cron/

I saw there were updates in the Github repo that were more recent than the plugins directory (latest commit 745ecbe) but when I downloaded and installed it caused the debug bar to stop working entirely. Both the WP plugin directory and the latest GitHub download were marked as v. 0.1.2

No PHP errors were visible, and I didn't see any JavaScript errors in the console either. No matter what page in the admin I was on clicking on the debug bar button or any of its sub-menu items would change the URL but nothing in the page's display would change.

Debug bar: v. 0.9
WordPress: v 4.9.2

Remove scheduled event button

There should be a simple means to removing events from cron. I think a simple button should do. The only trick is handling recurring events. Typical design patterns for scheduling recurring events will look to see if an event is scheduled and only schedule it if it is not scheduled. We need a good way to handle that scenario.

Add function to prune "dead" crons

There should be an easy way to unschedule crons that no longer have valid callback functions. This often occurs if a repeating event's callback function has a name change or is removed altogether.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.