Cron Jobs

jobs

From version 2.2 we run Jobs throw Hangfire library.

To Schedule a job you need to know cron syntax:

# ┌───────────── min (0 – 59)
# │ ┌────────────── hour (0 – 23)
# │ │ ┌─────────────── day of month (1 – 31)
# │ │ │ ┌──────────────── month (1 – 12)
# │ │ │ │ ┌───────────────── day of week (0 – 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)
# │ │ │ │ │
# │ │ │ │ │
# * * * * *

For example by default Cron Invoice has: 0 9 * * 0,4 it means:

0 -> minute 0

9 -> 9 Am

* -> Every months

0,4->  Sunday and Wednesday

So every Sunday and Wednesday at 9:00AM job will run.

For more information please visit: https://en.wikipedia.org/wiki/Cron