mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
eaf0211787
https://github.com/hasura/graphql-engine-mono/pull/2077 Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com> GitOrigin-RevId: 7f4fae18052b46122106a0fb57ab4b5c0c000b18
45 lines
985 B
ReStructuredText
45 lines
985 B
ReStructuredText
.. meta::
|
|
:description: Create a scheduled trigger with Hasura
|
|
:keywords: hasura, docs, scheduled trigger
|
|
|
|
.. _scheduled_triggers:
|
|
|
|
Scheduled Triggers
|
|
==================
|
|
|
|
.. contents:: Table of contents
|
|
:backlinks: none
|
|
:depth: 1
|
|
:local:
|
|
|
|
Introduction
|
|
------------
|
|
|
|
Scheduled triggers are used to execute custom business logic at specific points in time.
|
|
|
|
.. thumbnail:: /img/graphql/core/scheduled-triggers/scheduled-trigger-arch.png
|
|
:class: no-shadow
|
|
:width: 700px
|
|
:alt: Hasura scheduled trigger architecture
|
|
|
|
.. admonition:: Supported from
|
|
|
|
Scheduled triggers are supported from versions ``v1.3.0`` and above.
|
|
|
|
Types
|
|
-----
|
|
|
|
There are two types of timed events:
|
|
|
|
- :ref:`Cron triggers <creating_cron_trigger>`: based on a cron schedule.
|
|
- :ref:`One-off scheduled events <creating_one_off_scheduled_event>`: based on a fixed timestamp.
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
:titlesonly:
|
|
:hidden:
|
|
|
|
create-cron-trigger
|
|
create-one-off-scheduled-event
|
|
clean-up
|