Packages › trotsky › StepBuilder › schedule
StepBuilder.schedule() method
Schedules the sequence to run at a given interval.
Signature:
typescript
schedule(expression: string): any;
Parameters
Parameter | Type | Description |
---|---|---|
expression | string | The cron expression defining the schedule. |
Returns:
any
A cron job instance.