Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Extension as cron job
I'm making a Discussion Expiration extension and I need to it to run just once a day. and close out discussions based on user criterion.
How do i run the extension once per day?
How do i run the extension once per day?
0
This discussion has been closed.
Comments
I can put in the last run date in the configuration. and every page load it checks today's date with last check date in the configuration. If more than 1 run the code and update last check configuration. else skip altogether.
my quirk with this is it will make this check every single page load. for massive forums this can be lot of useless checking of configuration.