> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Cron Scheduler

- Component: `appmixer.utils.timers.Scheduler`
- Kind: Trigger
- Version: 1.1.1
- Visibility: Public
- Connector: [appmixer.utils.timers 1.5.4](https://connectors.appmixer.com/connector/appmixer.utils.timers/1.5.4.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.utils.timers/1.5.4/component/appmixer.utils.timers.Scheduler>

This trigger schedules jobs to run periodically at fixed times, dates, or intervals using cron syntax.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Trigger immediately (`immediate`) | toggle | Set this to true if you want to trigger this component as soon as the flow starts |
| Minute (`minute`) | text | Allowed values are *, -, /, 0-59, , |
| Hour (`hour`) | text | Allowed values are *, -, /, 0-23, , |
| Day of the Month (`dayMonth`) | text | Allowed values are *, -, /, 1-31, , |
| Day of the Week (`dayWeek`) | text | Allowed values are *, -, /, 0-6, SUN-SAT, , |
| Timezone (`timezone`) | select | Specify the timezone for scheduling (e.g., 'Europe/Prague') by default it is GMT |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Now (`now`) | - | - |
| Previous Date (`previousDate`) | - | - |
| Next Date (`nextDate`) | - | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.utils.timers.Scheduler",
  "author": "Appmixer <info@appmixer.com>",
  "description": "This trigger schedules jobs to run periodically at fixed times, dates, or intervals using cron syntax.",
  "label": "Cron Scheduler",
  "version": "1.1.1",
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "properties": {
          "previousDate": {
            "type": "string",
            "format": "date-time"
          },
          "now": {
            "type": "string",
            "format": "date-time"
          },
          "nextDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "lastTick",
          "elapsed",
          "now"
        ]
      },
      "options": [
        {
          "label": "Now",
          "value": "now"
        },
        {
          "label": "Previous Date",
          "value": "previousDate"
        },
        {
          "label": "Next Date",
          "value": "nextDate"
        }
      ]
    }
  ],
  "properties": {
    "schema": {
      "properties": {
        "minute": {
          "type": "string"
        },
        "hour": {
          "type": "string"
        },
        "dayMonth": {
          "type": "string"
        },
        "dayWeek": {
          "type": "string"
        },
        "immediate": {
          "type": "boolean"
        },
        "timezone": {
          "type": "string"
        }
      },
      "required": [
        "minute",
        "hour",
        "dayMonth",
        "dayWeek"
      ]
    },
    "inspector": {
      "inputs": {
        "immediate": {
          "type": "toggle",
          "index": 1,
          "label": "Trigger immediately",
          "tooltip": "Set this to true if you want to trigger this component as soon as the flow starts",
          "defaultValue": true
        },
        "minute": {
          "type": "text",
          "index": 2,
          "label": "Minute",
          "tooltip": "Allowed values are *, -, /, 0-59, ,"
        },
        "hour": {
          "type": "text",
          "label": "Hour",
          "index": 3,
          "tooltip": "Allowed values are *, -, /, 0-23, ,"
        },
        "dayMonth": {
          "type": "text",
          "index": 4,
          "label": "Day of the Month",
          "tooltip": "Allowed values are *, -, /, 1-31, ,"
        },
        "dayWeek": {
          "type": "text",
          "index": 5,
          "label": "Day of the Week",
          "tooltip": "Allowed values are *, -, /, 0-6, SUN-SAT, ,"
        },
        "timezone": {
          "type": "select",
          "index": 6,
          "label": "Timezone",
          "tooltip": "Specify the timezone for scheduling (e.g., 'Europe/Prague') by default it is GMT",
          "options": [
            {
              "label": "(GMT-11:00) Midway Island (Pacific/Midway)",
              "value": "Pacific/Midway"
            },
            {
              "label": "(GMT-11:00) Samoa (US/Samoa)",
              "value": "US/Samoa"
            },
            {
              "label": "(GMT-10:00) Hawaii (US/Hawaii)",
              "value": "US/Hawaii"
            },
            {
              "label": "(GMT-09:00) Alaska (US/Alaska)",
              "value": "US/Alaska"
            },
            {
              "label": "(GMT-08:00) Pacific Time (US & Canada) (US/Pacific)",
              "value": "US/Pacific"
            },
            {
              "label": "(GMT-08:00) Tijuana (America/Tijuana)",
              "value": "America/Tijuana"
            },
            {
              "label": "(GMT-07:00) Arizona (US/Arizona)",
              "value": "US/Arizona"
            },
            {
              "label": "(GMT-07:00) Mountain Time (US & Canada) (US/Mountain)",
              "value": "US/Mountain"
            },
            {
              "label": "(GMT-07:00) Chihuahua (America/Chihuahua)",
              "value": "America/Chihuahua"
            },
            {
              "label": "(GMT-07:00) Mazatlan (America/Mazatlan)",
              "value": "America/Mazatlan"
            },
            {
              "label": "(GMT-06:00) Mexico City (America/Mexico_City)",
              "value": "America/Mexico_City"
            },
            {
              "label": "(GMT-06:00) Monterrey (America/Monterrey)",
              "value": "America/Monterrey"
            },
            {
              "label": "(GMT-06:00) Saskatchewan (Canada/Saskatchewan)",
              "value": "Canada/Saskatchewan"
            },
            {
              "label": "(GMT-06:00) Central Time (US & Canada) (US/Central)",
              "value": "US/Central"
            },
            {
              "label": "(GMT-05:00) Eastern Time (US & Canada) (US/Eastern)",
              "value": "US/Eastern"
            },
            {
              "label": "(GMT-05:00) Indiana (East) (US/East-Indiana)",
              "value": "US/East-Indiana"
            },
            {
              "label": "(GMT-05:00) Bogota (America/Bogota)",
              "value": "America/Bogota"
            },
            {
              "label": "(GMT-05:00) Lima (America/Lima)",
              "value": "America/Lima"
            },
            {
              "label": "(GMT-04:30) Caracas (America/Caracas)",
              "value": "America/Caracas"
            },
            {
              "label": "(GMT-04:00) Atlantic Time (Canada) (Canada/Atlantic)",
              "value": "Canada/Atlantic"
            },
            {
              "label": "(GMT-04:00) La Paz (America/La_Paz)",
              "value": "America/La_Paz"
            },
            {
              "label": "(GMT-04:00) Santiago (America/Santiago)",
              "value": "America/Santiago"
            },
            {
              "label": "(GMT-03:30) Newfoundland (Canada/Newfoundland)",
              "value": "Canada/Newfoundland"
            },
            {
              "label": "(GMT-03:00) Buenos Aires (America/Buenos_Aires)",
              "value": "America/Buenos_Aires"
            },
            {
              "label": "(GMT-03:00) Greenland (America/Godthab)",
              "value": "America/Godthab"
            },
            {
              "label": "(GMT-02:00) Stanley (Atlantic/Stanley)",
              "value": "Atlantic/Stanley"
            },
            {
              "label": "(GMT-01:00) Azores (Atlantic/Azores)",
              "value": "Atlantic/Azores"
            },
            {
              "label": "(GMT-01:00) Cape Verde Is. (Atlantic/Cape_Verde)",
              "value": "Atlantic/Cape_Verde"
            },
            {
              "label": "(GMT) Casablanca (Africa/Casablanca)",
              "value": "Africa/Casablanca"
            },
            {
              "label": "(GMT) Dublin (Europe/Dublin)",
              "value": "Europe/Dublin"
            },
            {
              "label": "(GMT) Lisbon (Europe/Lisbon)",
              "value": "Europe/Lisbon"
            },
            {
              "label": "(GMT) London (Europe/London)",
              "value": "Europe/London"
            },
            {
              "label": "(GMT) Monrovia (Africa/Monrovia)",
              "value": "Africa/Monrovia"
            },
            {
              "label": "(GMT+01:00) Amsterdam (Europe/Amsterdam)",
              "value": "Europe/Amsterdam"
            },
            {
              "label": "(GMT+01:00) Belgrade (Europe/Belgrade)",
              "value": "Europe/Belgrade"
            },
            {
              "label": "(GMT+01:00) Berlin (Europe/Berlin)",
              "value": "Europe/Berlin"
            },
            {
              "label": "(GMT+01:00) Bratislava (Europe/Bratislava)",
              "value": "Europe/Bratislava"
            },
            {
              "label": "(GMT+01:00) Brussels (Europe/Brussels)",
              "value": "Europe/Brussels"
            },
            {
              "label": "(GMT+01:00) Budapest (Europe/Budapest)",
              "value": "Europe/Budapest"
            },
            {
              "label": "(GMT+01:00) Copenhagen (Europe/Copenhagen)",
              "value": "Europe/Copenhagen"
            },
            {
              "label": "(GMT+01:00) Ljubljana (Europe/Ljubljana)",
              "value": "Europe/Ljubljana"
            },
            {
              "label": "(GMT+01:00) Madrid (Europe/Madrid)",
              "value": "Europe/Madrid"
            },
            {
              "label": "(GMT+01:00) Paris (Europe/Paris)",
              "value": "Europe/Paris"
            },
            {
              "label": "(GMT+01:00) Prague (Europe/Prague)",
              "value": "Europe/Prague"
            },
            {
              "label": "(GMT+01:00) Rome (Europe/Rome)",
              "value": "Europe/Rome"
            },
            {
              "label": "(GMT+01:00) Sarajevo (Europe/Sarajevo)",
              "value": "Europe/Sarajevo"
            },
            {
              "label": "(GMT+01:00) Skopje (Europe/Skopje)",
              "value": "Europe/Skopje"
            },
            {
              "label": "(GMT+01:00) Stockholm (Europe/Stockholm)",
              "value": "Europe/Stockholm"
            },
            {
              "label": "(GMT+01:00) Vienna (Europe/Vienna)",
              "value": "Europe/Vienna"
            },
            {
              "label": "(GMT+01:00) Warsaw (Europe/Warsaw)",
              "value": "Europe/Warsaw"
            },
            {
              "label": "(GMT+01:00) Zagreb (Europe/Zagreb)",
              "value": "Europe/Zagreb"
            },
            {
              "label": "(GMT+02:00) Athens (Europe/Athens)",
              "value": "Europe/Athens"
            },
            {
              "label": "(GMT+02:00) Bucharest (Europe/Bucharest)",
              "value": "Europe/Bucharest"
            },
            {
              "label": "(GMT+02:00) Cairo (Africa/Cairo)",
              "value": "Africa/Cairo"
            },
            {
              "label": "(GMT+02:00) Harare (Africa/Harare)",
              "value": "Africa/Harare"
            },
            {
              "label": "(GMT+02:00) Helsinki (Europe/Helsinki)",
              "value": "Europe/Helsinki"
            },
            {
              "label": "(GMT+02:00) Istanbul (Europe/Istanbul)",
              "value": "Europe/Istanbul"
            },
            {
              "label": "(GMT+02:00) Jerusalem (Asia/Jerusalem)",
              "value": "Asia/Jerusalem"
            },
            {
              "label": "(GMT+02:00) Kyiv (Europe/Kiev)",
              "value": "Europe/Kiev"
            },
            {
              "label": "(GMT+02:00) Minsk (Europe/Minsk)",
              "value": "Europe/Minsk"
            },
            {
              "label": "(GMT+02:00) Riga (Europe/Riga)",
              "value": "Europe/Riga"
            },
            {
              "label": "(GMT+02:00) Sofia (Europe/Sofia)",
              "value": "Europe/Sofia"
            },
            {
              "label": "(GMT+02:00) Tallinn (Europe/Tallinn)",
              "value": "Europe/Tallinn"
            },
            {
              "label": "(GMT+02:00) Vilnius (Europe/Vilnius)",
              "value": "Europe/Vilnius"
            },
            {
              "label": "(GMT+03:00) Baghdad (Asia/Baghdad)",
              "value": "Asia/Baghdad"
            },
            {
              "label": "(GMT+03:00) Kuwait (Asia/Kuwait)",
              "value": "Asia/Kuwait"
            },
            {
              "label": "(GMT+03:00) Nairobi (Africa/Nairobi)",
              "value": "Africa/Nairobi"
            },
            {
              "label": "(GMT+03:00) Riyadh (Asia/Riyadh)",
              "value": "Asia/Riyadh"
            },
            {
              "label": "(GMT+03:00) Moscow (Europe/Moscow)",
              "value": "Europe/Moscow"
            },
            {
              "label": "(GMT+03:30) Tehran (Asia/Tehran)",
              "value": "Asia/Tehran"
            },
            {
              "label": "(GMT+04:00) Baku (Asia/Baku)",
              "value": "Asia/Baku"
            },
            {
              "label": "(GMT+04:00) Volgograd (Europe/Volgograd)",
              "value": "Europe/Volgograd"
            },
            {
              "label": "(GMT+04:00) Muscat (Asia/Muscat)",
              "value": "Asia/Muscat"
            },
            {
              "label": "(GMT+04:00) Tbilisi (Asia/Tbilisi)",
              "value": "Asia/Tbilisi"
            },
            {
              "label": "(GMT+04:00) Yerevan (Asia/Yerevan)",
              "value": "Asia/Yerevan"
            },
            {
              "label": "(GMT+04:30) Kabul (Asia/Kabul)",
              "value": "Asia/Kabul"
            },
            {
              "label": "(GMT+05:00) Karachi (Asia/Karachi)",
              "value": "Asia/Karachi"
            },
            {
              "label": "(GMT+05:00) Tashkent (Asia/Tashkent)",
              "value": "Asia/Tashkent"
            },
            {
              "label": "(GMT+05:30) Kolkata (Asia/Kolkata)",
              "value": "Asia/Kolkata"
            },
            {
              "label": "(GMT+05:45) Kathmandu (Asia/Kathmandu)",
              "value": "Asia/Kathmandu"
            },
            {
              "label": "(GMT+06:00) Ekaterinburg (Asia/Yekaterinburg)",
              "value": "Asia/Yekaterinburg"
            },
            {
              "label": "(GMT+06:00) Almaty (Asia/Almaty)",
              "value": "Asia/Almaty"
            },
            {
              "label": "(GMT+06:00) Dhaka (Asia/Dhaka)",
              "value": "Asia/Dhaka"
            },
            {
              "label": "(GMT+07:00) Novosibirsk (Asia/Novosibirsk)",
              "value": "Asia/Novosibirsk"
            },
            {
              "label": "(GMT+07:00) Bangkok (Asia/Bangkok)",
              "value": "Asia/Bangkok"
            },
            {
              "label": "(GMT+07:00) Jakarta (Asia/Jakarta)",
              "value": "Asia/Jakarta"
            },
            {
              "label": "(GMT+08:00) Krasnoyarsk (Asia/Krasnoyarsk)",
              "value": "Asia/Krasnoyarsk"
            },
            {
              "label": "(GMT+08:00) Chongqing (Asia/Chongqing)",
              "value": "Asia/Chongqing"
            },
            {
              "label": "(GMT+08:00) Hong Kong (Asia/Hong_Kong)",
              "value": "Asia/Hong_Kong"
            },
            {
              "label": "(GMT+08:00) Kuala Lumpur (Asia/Kuala_Lumpur)",
              "value": "Asia/Kuala_Lumpur"
            },
            {
              "label": "(GMT+08:00) Perth (Australia/Perth)",
              "value": "Australia/Perth"
            },
            {
              "label": "(GMT+08:00) Singapore (Asia/Singapore)",
              "value": "Asia/Singapore"
            },
            {
              "label": "(GMT+08:00) Taipei (Asia/Taipei)",
              "value": "Asia/Taipei"
            },
            {
              "label": "(GMT+08:00) Ulaan Bataar (Asia/Ulaanbaatar)",
              "value": "Asia/Ulaanbaatar"
            },
            {
              "label": "(GMT+08:00) Urumqi (Asia/Urumqi)",
              "value": "Asia/Urumqi"
            },
            {
              "label": "(GMT+09:00) Irkutsk (Asia/Irkutsk)",
              "value": "Asia/Irkutsk"
            },
            {
              "label": "(GMT+09:00) Seoul (Asia/Seoul)",
              "value": "Asia/Seoul"
            },
            {
              "label": "(GMT+09:00) Tokyo (Asia/Tokyo)",
              "value": "Asia/Tokyo"
            },
            {
              "label": "(GMT+09:30) Adelaide (Australia/Adelaide)",
              "value": "Australia/Adelaide"
            },
            {
              "label": "(GMT+09:30) Darwin (Australia/Darwin)",
              "value": "Australia/Darwin"
            },
            {
              "label": "(GMT+10:00) Yakutsk (Asia/Yakutsk)",
              "value": "Asia/Yakutsk"
            },
            {
              "label": "(GMT+10:00) Brisbane (Australia/Brisbane)",
              "value": "Australia/Brisbane"
            },
            {
              "label": "(GMT+10:00) Canberra (Australia/Canberra)",
              "value": "Australia/Canberra"
            },
            {
              "label": "(GMT+10:00) Guam (Pacific/Guam)",
              "value": "Pacific/Guam"
            },
            {
              "label": "(GMT+10:00) Hobart (Australia/Hobart)",
              "value": "Australia/Hobart"
            },
            {
              "label": "(GMT+10:00) Melbourne (Australia/Melbourne)",
              "value": "Australia/Melbourne"
            },
            {
              "label": "(GMT+10:00) Port Moresby (Pacific/Port_Moresby)",
              "value": "Pacific/Port_Moresby"
            },
            {
              "label": "(GMT+10:00) Sydney (Australia/Sydney)",
              "value": "Australia/Sydney"
            },
            {
              "label": "(GMT+11:00) Vladivostok (Asia/Vladivostok)",
              "value": "Asia/Vladivostok"
            },
            {
              "label": "(GMT+12:00) Magadan (Asia/Magadan)",
              "value": "Asia/Magadan"
            },
            {
              "label": "(GMT+12:00) Auckland (Pacific/Auckland)",
              "value": "Pacific/Auckland"
            },
            {
              "label": "(GMT+12:00) Fiji (Pacific/Fiji)",
              "value": "Pacific/Fiji"
            }
          ]
        }
      }
    }
  },
  "icon": "(data URI omitted)"
}
```
