Browse Source

hilfe

master
Roxy 12 months ago
parent
commit
25ce52dc71
  1. 2
      README.md
  2. 2
      cron-but-worse.sh
  3. 2
      cron-but-worse.xml
  4. 2
      edit-times.sh
  5. 2
      vogel-10.sh

2
README.md

@ -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

2
cron-but-worse.sh

@ -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

2
cron-but-worse.xml

@ -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>

2
edit-times.sh

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

2
vogel-10.sh

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