Schedular Task Question

Discussion in 'Performance Tweaking' started by ChocolateChimp, Jun 1, 2015.

  1. Hi,
    So I've just gotten into scheduling tasks and I was wondering: Do I need to cancel a task that does NOT repeat itself? Or does bukkit/spigot do that for me? For example; I start a delayed task and send a player a message, do I need to cancel that once it's finished? Or will bukkit do it for me?

    Thanks!

    - ChocolateChimp
     
  2. Bukkit automatically removes non-repeating tasks that have run.
     
  3. Thanks for the information!