18 lines
770 B
INI
18 lines
770 B
INI
|
# 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
|