Interface CronInterface

The public interface of a cronjob. This is what the Weenie function returns as a dependency

interface CronInterface {
    register(jobOrJobs): void;
    kill(name?): void;
}

Implemented by

Methods

Methods

  • Kill the cronjob identified by name, or all cronjobs if name not specified

    Parameters

    • Optional name: string

    Returns void

Generated using TypeDoc