Repository navigation
Expand file tree
/
Copy pathcrontab.txt
More file actions
38 lines (35 loc) · 1.73 KB
/
Copy pathcrontab.txt
File metadata and controls
38 lines (35 loc) · 1.73 KB
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
30
31
32
33
34
35
36
37
38
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').
#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
# Clear ATEM Camera Audio - Every 5 min from 9 AM - 12 PM each Sunday
# When opening the ATEM Software on the streaming computer, it seems to
# randomly leave the camera audio channels unmuted. This periodically mutes
# all audio channels so that we never have camera audio open for more than
# 5 minutes on Sunday mornings.
0,5,10,15,20,25,30,35,40,45,50,55 9-11 * * SUN curl -X GET http://192.168.2.51:8000/press/bank/1/8
# Sunday at 3 AM - Point NDI Receivers to PTZ Cams in Sanctuary
0 3 * * 0 python3 /home/ubuntu/StreamConfig/python/set_ndi_rcvr_to_cam.py 1 PTZ1
0 3 * * 0 python3 /home/ubuntu/StreamConfig/python/set_ndi_rcvr_to_cam.py 2 PTZ2
# Thursday at 5 PM - Point NDI Receivers to PTZ Cams in Sanctuary
0 17 * * 4 python3 /home/ubuntu/StreamConfig/python/set_ndi_rcvr_to_cam.py 1 PTZ1
0 17 * * 4 python3 /home/ubuntu/StreamConfig/python/set_ndi_rcvr_to_cam.py 2 PTZ2