Example and description of crontab syntax

This commit is contained in:
Florian Kellermann
2022-04-05 12:38:20 +02:00
parent 9d10b1a048
commit e85bbacdde

View File

@@ -5,3 +5,16 @@ __author__ = "Florian Kellermann, Linus Eickhoff"
__date__ = "05.04.2022" __date__ = "05.04.2022"
__version__ = "0.0.1" __version__ = "0.0.1"
__license__ = "None" __license__ = "None"
'''
* * * * * code
┬ ┬ ┬ ┬ ┬
│ │ │ │ │
│ │ │ │ └──── weekday (0-7, Sunday is 0 or 7)
│ │ │ └────── Month (1-12)
│ │ └──────── Day (1-31)
│ └────────── Hour (0-23)
└──────────── Minute (0-59)
example 0 8 * * * -> daily update at 8am
'''