Skip to content

Function: useCronTab() ​

ts
function useCronTab(
  crontab: string,
  callback: (...args: any[]) => void,
): () => void;

Parameters ​

ParameterType
crontabstring
callback(...args: any[]) => void

Returns ​

ts
(): void;

Returns ​

void