[RSS Feed/News] Run a piece of code after "x" minutes/hours, what would be the best way to achieve it?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Use case scenario:
I'm building an addon which will allow certain limited users to create a new record of a custom entity (let's call this entity Foo). The create form has a date time field where the user will select a value (always a date in future) and will be in Y-m-d hh:mm format which then gets stored as unix timestamp in the database.

PHP:

Code:
public static function getStructure(Structure $structure)
{
    $structure->table = 'xf_asp_fb_foo'...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom