add birthday check
This commit is contained in:
13
homepage/participo/bdCheck.sh
Executable file
13
homepage/participo/bdCheck.sh
Executable 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;
|
||||
Reference in New Issue
Block a user