Saving notify messages script

This commit is contained in:
2026-06-06 14:20:14 -04:00
parent 44348ad393
commit d6dcd826a9
+24
View File
@@ -0,0 +1,24 @@
#!/bin/bash
root_dir=`pwd`
echo "Root directory: $root_dir"
if [[ ! -d "$root_dir" ]]; then
echo "Root directory does not exist. Exiting"
exit
fi
config_path="config.json"
numbers_part="1"
numbers_path="numbers/numbers-notify-$numbers_part.json"
type_message="json"
messages_path="messages/message-notify-$numbers_part.json"
send_message="True"
echo "Changing directory to $root_dir"
cd $root_dir
./sender "$config_path" "$numbers_path" "$messages_path"
echo "Done"