Forums

Scheduling Events within 10 minutes each other (1 post)

  1. foldor
    Member
    Posted 1 year ago #

    I'm trying to create a plugin that has variable scheduled events. According to the codex you can't schedule an event with the same name, within 10 minutes of each other. My question is, what's a nice workaround to this if I can't guarantee that won't happen?

    Is there a way to check what's the closest event to the time I need, and then add 10m1s to it?

    Thanks in advance,
    Ryan

Topic Closed

This topic has been closed to new replies.

About this Topic