Skip to content
  • Cecilia Vela Gurovic's avatar
    Bug 1840195: add function to check if a cron jobs needs to be executed · a6078c49
    Cecilia Vela Gurovic authored
    this adds the possibility to define a check to see if a
    cron callfunction needs to be executed before droping
    elasticsearch triggers or calling the cron function
    
    if the check function is not define then the cron
    call function will be executed as before
    
    to define the check function it has to have the name
    of the cron callfunction and add a 'needs_to_run'
    at the end
    
    + also making the successful login reset the logintries
    to 0 for the user on the DB
    
    behatnotneeded
    
    Change-Id: I0abe28c1172136da043c9e9310c315b75c7d4fbb
    a6078c49