1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Show add-on that cron entires belong to

Discussion in 'Closed Suggestions' started by Onimua, Feb 5, 2011.

  1. Onimua

    Onimua Well-Known Member

    Is it possible to display the add-on that cron entries belong to? It's a little difficult to figure out which entry belongs to what add-on, especially when the entries jump around depending on when they run on each cycle.
     
  2. SchmitzIT

    SchmitzIT Well-Known Member

    If you're in Development mode, then you can.

    Edit your \library\config.php file, and put the following line at the end:

    Code:
    $config['debug'] = true; 
    Save, and go into your AdminCP -> Tools -> Cron Entries

    You should be able to edit the entries in there, so you can adjust the title. However, keep in mind that if you upgrade the product, you might have to repeat the exercise. You can also just start a private conversation with the developer of the mod and ask him/her to adjust the title.
     
  3. Onimua

    Onimua Well-Known Member

    I know that much. It was when I was creating a few cron entries that I realized it would be helpful to have them there. ;)

    Since I already pick what add-on the cron entry belongs to, it makes sense to display what I put next to the name of the cron. This matches the behavior found when you create templates and event listeners for add-ons. Even route prefixes at least give some visual indication of where it belongs by displaying the class that's called.

    If you've got a few crons from a few add-ons, it would be helpful to visually see that with information already there (and avoid long cron entry titles).
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    This would have to be done by the developer of each add-on, it's not something that Kier and Mike can build in to the core.
     
  5. Floris

    Floris Guest

    Brogan, this is a suggestion forum, so .. we know it's not in the core?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    My point is Kier and Mike can't know which cron task relates to which add-on, nor can they account for every add-on even if they did.

    Only the add-on developer can do that.

    The suggestions forum is related to the core software, not add-ons.
     
  7. ragtek

    ragtek Guest

    off course they can't know, but they can change the view of the cron page:D

    I think tHe threadcreater means, that he wants to see the add-on title here:
    cronfoo.PNG
     
  8. Onimua

    Onimua Well-Known Member

    Add-on IDs are tracked within the xf_cron table, so they actually do know what cron belongs to what add-on.


    xf_cron.png

    I'm just asking for that info to be displayed next to the cron names between the time/after the time, or break them into groups similar to Event Listeners:

    code_listeners.png
     

Share This Page