Function enqueueRecurrentTask

  • Ensures that a task which has a frequency is either running, or already enqueued. This is run automatically at boot for all tasks which have a frequency, via api.tasks.enqueueAllRecurrentTasks. Will throw an error if redis cannot be reached.

    Parameters

    • taskName: string

    Returns Promise<void>