Example and description of crontab syntax
This commit is contained in:
parent
9d10b1a048
commit
e85bbacdde
@ -4,4 +4,17 @@ script for regularly sending updates on shares and news based on user interval
|
|||||||
__author__ = "Florian Kellermann, Linus Eickhoff"
|
__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
|
||||||
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user