add birthday check

This commit is contained in:
marko
2024-03-09 07:37:28 +01:00
parent 1a57afac43
commit 9fda7aa73c
2 changed files with 86 additions and 0 deletions

13
homepage/participo/bdCheck.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
# If started as root, then re-start as user "marko":
# if [ "$(id -u)" -eq 0 ]; then
# exec sudo -H -u marko $0 "$@"
# echo "This is never reached.";
# fi
# echo "This runs as user $(id -un)";
# # prints "marko"
cd /home/marko/cwsvJudo/homepage/participo/; . .venv/bin/activate; python bdCheck.py ; deactivate;
exit 0;