@usefulish/smartcron
Version:
Declarative and safe cron decorator for NestJS with UTC offset support.
13 lines (12 loc) • 458 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ALLOWED_MINUTES = void 0;
/**
* List of allowed execution intervals in minutes.
*
* These values are intentionally prime or uncommon to reduce overlap
* with typical system cron schedules and avoid collisions in shared environments.
*
* Must be referenced via `AllowedIntervals` for type safety.
*/
exports.ALLOWED_MINUTES = [7, 11, 13, 17, 19, 23, 29, 31, 37, 41];