From 4c878abb5df460a43f574b0c2719cb46f7813d56 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin <maximebeauchemin@gmail.com> Date: Sun, 15 Nov 2015 19:54:04 -0800 Subject: [PATCH] Merge pull request #639 from jdanbrown/patch-1 docs/scheduler.rst: Fix table formatting GitOrigin-RevId: f073da4bed714e10ad7dea5504a3c31dd05daf3e --- docs/scheduler.rst | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) 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