hilfe
This commit is contained in:
parent
856edc1869
commit
25ce52dc71
|
@ -1,4 +1,4 @@
|
|||
#cron but worse
|
||||
# cron but worse
|
||||
|
||||
## how to use
|
||||
basically just put it in your home folder and change scripts/paths and stuff
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Path to the XML file
|
||||
xml_file="./cron-but-worse.xml"
|
||||
xml_file="/home/sysadmin/vogel-sounds/cron-but-worse.xml"
|
||||
|
||||
while true; do
|
||||
# Extract the desired times, descriptions, and scripts from the XML file
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<script>/home/sysadmin/vogel-sounds/vogel-10.sh</script>
|
||||
</command>
|
||||
<command>
|
||||
<time>15:30</time>
|
||||
<time>15:04</time>
|
||||
<description>Play birb sounds for 10 Minutes</description>
|
||||
<script>/home/sysadmin/vogel-sounds/vogel-10.sh</script>
|
||||
</command>
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
nano /home/sysadmin/vogel-sounds/cron-but-worse.xml
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
aplay ./vogel-10.wav
|
||||
aplay /home/sysadmin/vogel-sounds/vogel-10.wav
|
||||
|
|
Loading…
Reference in New Issue