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

Cron Question

Discussion in 'XenForo Development Discussions' started by John L., Feb 15, 2016.

  1. John L.

    John L. Well-Known Member

    This might seem like a very newbish thing to ask, but I'm trying to learn how to create a cron for a XenForo addon. For this addon I'm creating it has a datawriter runs a whole bunch of code after postSave. I essentially want to do the same thing except have it run each time the cron is scheduled. What would be the best way to accomplish doing this?

    If it's easier to look at my code I could post my commit to github and have you all take a look. Let me know what works best. :)
     

Share This Page