# Source: https://docs.convex.dev/api/interfaces/server.CronJob.md

# Interface: CronJob

[server](/api/modules/server.md).CronJob

A schedule to run a Convex mutation or action on. You can schedule Convex functions to run regularly with interval and exporting it.

## Properties[​](#properties "Direct link to Properties")

### name[​](#name "Direct link to name")

• **name**: `string`

#### Defined in[​](#defined-in "Direct link to Defined in")

[server/cron.ts:153](https://github.com/get-convex/convex-js/blob/main/src/server/cron.ts#L153)

***

### args[​](#args "Direct link to args")

• **args**: [`JSONValue`](/api/modules/values.md#jsonvalue)

#### Defined in[​](#defined-in-1 "Direct link to Defined in")

[server/cron.ts:154](https://github.com/get-convex/convex-js/blob/main/src/server/cron.ts#L154)

***

### schedule[​](#schedule "Direct link to schedule")

• **schedule**: `Schedule`

#### Defined in[​](#defined-in-2 "Direct link to Defined in")

[server/cron.ts:155](https://github.com/get-convex/convex-js/blob/main/src/server/cron.ts#L155)