diff --git a/docs/scheduler.rst b/docs/scheduler.rst index b04ca945559..d42a642198d 100644 --- a/docs/scheduler.rst +++ b/docs/scheduler.rst @@ -41,21 +41,21 @@ preferably a a ``str``, or a ``datetime.timedelta`` object. Alternatively, you can also use one of these cron "preset": -+--------------+---------------------------------------------------------------- +---------------+ -| preset | Run once a year at midnight of January 1 | cron | -+==============+================================================================ +===============+ -| ``@once`` | Schedule once and only once | | -+--------------+---------------------------------------------------------------- +---------------+ -| ``@hourly`` | Run once an hour at the beginning of the hour | ``0 * * * *`` | -+--------------+---------------------------------------------------------------- +---------------+ -| ``@daily`` | Run once a day at midnight | ``0 0 * * *`` | -+--------------+---------------------------------------------------------------- +---------------+ -| ``@weekly`` | Run once a week at midnight on Sunday morning | ``0 0 * * 0`` | -+--------------+---------------------------------------------------------------- +---------------+ -| ``@monthly`` | Run once a month at midnight of the first day of the month | ``0 0 1 * *`` | -+--------------+---------------------------------------------------------------- +---------------+ -| ``@yearly`` | Run once a year at midnight of January 1 | ``0 0 1 1 *`` | -+--------------+---------------------------------------------------------------- +---------------+ ++--------------+----------------------------------------------------------------+---------------+ +| preset | Run once a year at midnight of January 1 | cron | ++==============+================================================================+===============+ +| ``@once`` | Schedule once and only once | | ++--------------+----------------------------------------------------------------+---------------+ +| ``@hourly`` | Run once an hour at the beginning of the hour | ``0 * * * *`` | ++--------------+----------------------------------------------------------------+---------------+ +| ``@daily`` | Run once a day at midnight | ``0 0 * * *`` | ++--------------+----------------------------------------------------------------+---------------+ +| ``@weekly`` | Run once a week at midnight on Sunday morning | ``0 0 * * 0`` | ++--------------+----------------------------------------------------------------+---------------+ +| ``@monthly`` | Run once a month at midnight of the first day of the month | ``0 0 1 * *`` | ++--------------+----------------------------------------------------------------+---------------+ +| ``@yearly`` | Run once a year at midnight of January 1 | ``0 0 1 1 *`` | ++--------------+----------------------------------------------------------------+---------------+ Your DAG will be instantiated