commit 856edc1869e6b5a173120b236466336b81949e93 Author: Roxy Date: Wed May 24 14:54:56 2023 +0200 this is horrible diff --git a/README.md b/README.md new file mode 100644 index 0000000..14370cd --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +#cron but worse + +## how to use +basically just put it in your home folder and change scripts/paths and stuff + +## how make systemd shits work ? +change exec path to where yuo put script duh + +## what it do ? +basically just checks if a certain time in HH:MM format is every 60 seconds and if time matches with what is defined in cron-but-worse.xml it will execute what is in the script tag diff --git a/cron-but-worse.sh b/cron-but-worse.sh new file mode 100644 index 0000000..4930818 --- /dev/null +++ b/cron-but-worse.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# Path to the XML file +xml_file="./cron-but-worse.xml" + +while true; do + # Extract the desired times, descriptions, and scripts from the XML file + times=($(grep -oP '