forked from photoprism/photoprism
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjobs.ini
18 lines (17 loc) Β· 770 Bytes
/
jobs.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# See https://github.com/mcuadros/ofelia/blob/master/docs/jobs.md for job settings!
#
# Cron expressions in "schedule" represent times using 6 space-separated fields:
#
# Field name | Mandatory? | Allowed values | Allowed special characters
# ---------- | ---------- | -------------- | --------------------------
# Seconds | Yes | 0-59 | * / , -
# Minutes | Yes | 0-59 | * / , -
# Hours | Yes | 0-23 | * / , -
# Day of month | Yes | 1-31 | * / , - ?
# Month | Yes | 1-12 or JAN-DEC | * / , -
# Day of week | Yes | 0-6 or SUN-SAT | * / , - ?
[job-local "restart demo"]
schedule = @every 3h
command = make restart
dir = /opt/photoprism
no-overlap = true