This commit is contained in:
Roxy 2023-05-24 15:12:14 +02:00
parent 856edc1869
commit 25ce52dc71
5 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# Path to the XML file # Path to the XML file
xml_file="./cron-but-worse.xml" xml_file="/home/sysadmin/vogel-sounds/cron-but-worse.xml"
while true; do while true; do
# Extract the desired times, descriptions, and scripts from the XML file # Extract the desired times, descriptions, and scripts from the XML file

View File

@ -5,7 +5,7 @@
<script>/home/sysadmin/vogel-sounds/vogel-10.sh</script> <script>/home/sysadmin/vogel-sounds/vogel-10.sh</script>
</command> </command>
<command> <command>
<time>15:30</time> <time>15:04</time>
<description>Play birb sounds for 10 Minutes</description> <description>Play birb sounds for 10 Minutes</description>
<script>/home/sysadmin/vogel-sounds/vogel-10.sh</script> <script>/home/sysadmin/vogel-sounds/vogel-10.sh</script>
</command> </command>

2
edit-times.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
nano /home/sysadmin/vogel-sounds/cron-but-worse.xml

View File

@ -1,2 +1,2 @@
#!/bin/bash #!/bin/bash
aplay ./vogel-10.wav aplay /home/sysadmin/vogel-sounds/vogel-10.wav