1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Check if the task is already running

Discussion in 'Development' started by FresherGAMING, May 27, 2022.

  1. FresherGAMING

    FresherGAMING Spider Jockey

    Messages:
    42
    GitHub:
    FresherGAMING
    Hi, I want to check if the task is already running, the task is schedule repeating task, but how to do it ?
     
  2. BloodyJohnRus

    BloodyJohnRus Silverfish

    Messages:
    19
    GitHub:
    GDSHNIK
    PHP:
    $bool=$this->isCancelled(); //If bool false, then task running. Check it in task code.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.