NewGoCronScheduler
Constructs a GoCronScheduler.
def NewGoCronScheduler(
executor: Executor
) - > *GoCronScheduler
Constructs a GoCronScheduler. This function initializes a new cron scheduler with UTC location and a discarded logger, preparing it to manage scheduled jobs.
Parameters
| Name | Type | Description |
|---|---|---|
| executor | Executor | The executor responsible for running the tasks defined by the scheduled jobs. |
Returns
| Type | Description |
|---|---|
*GoCronScheduler | A pointer to a new GoCronScheduler instance, configured for scheduling. |