Poor man's crontab
- at
8:30
{
"url": "http://an.url",
"payload": {
"a": "property"
},
"scheduled": {
"at": {
"minutes-of-hours": 30,
"hour-of-day": 8
}
}
}
- every
2
minutes
{
"url": "http://an.url",
"payload": {
"a": "property"
},
"scheduled": {
"every": {
"minutes": 2,
"starting-at": "2019-02-15T00:00:00.000Z"
}
}
}
- on
thuesdays
at14:35
{
"url": "http://an.url",
"payload": {
"a": "property"
},
"scheduled": {
"at": {
"minutes-of-hours": 35,
"hour-of-day": 14,
"day-of-week": 2
}
}
}
- every
3
hours
{
"url": "http://an.url",
"payload": {
"a": "property"
},
"scheduled": {
"every": {
"hours": 3,
"starting-at": "2019-02-25T00:00:00.000Z"
}
}
}
- on the
5
th of each month at07:32
{
"url": "http://an.url",
"payload": {
"a": "property"
},
"scheduled": {
"at": {
"minutes-of-hours": 32,
"hour-of-day": 7,
"day-of-month": 2
}
}
}
- on the
3
rd month of each year on day5
at6:41
{
"url": "http://an.url",
"payload": {
"a": "property"
},
"scheduled": {
"at": {
"minutes-of-hours": 41,
"hour-of-day": 6,
"day-of-month": 5,
"motnth-of-year": 3
}
}
}