-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmove-tv.yaml
More file actions
29 lines (29 loc) · 755 Bytes
/
move-tv.yaml
File metadata and controls
29 lines (29 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: move-tv
spec:
schedule: "*/5 * * * *"
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
containers:
- name: movie-maid
image: ducas/movie-maid:0.1.1
args: ['-p', '-s', '/library/sync/sync-data/Downloads/TV', '-d', '/library/media/tvshows']
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
volumeMounts:
- mountPath: "/library"
name: library
restartPolicy: OnFailure
volumes:
- name: library
hostPath:
path: /mnt/library
type: Directory