Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

479 B
Raw Blame
import type { CreateCronJobCreatorOptions } from "./creator";
import { createCronJobCreator } from "./creator";
import { createJobGroupCreator } from "./group";

export const createCronJobFunctions = <TAllowedNames extends string>(
  options: CreateCronJobCreatorOptions<TAllowedNames>,
) => {
  return {
    createCronJob: createCronJobCreator<TAllowedNames>(options),
    createCronJobGroup: createJobGroupCreator<TAllowedNames>({
      logger: options.logger,
    }),
  };
};