initial commit
This commit is contained in:
commit
ababe6ae36
8 changed files with 542 additions and 0 deletions
6
run.sh
Executable file
6
run.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Resolve the directory this script lives in, regardless of cwd.
|
||||
# Cron starts in $HOME, so the explicit cd matters.
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$SCRIPT_DIR" || exit 1
|
||||
exec "$SCRIPT_DIR/venv/bin/python" "$SCRIPT_DIR/publish.py"
|
||||
Loading…
Add table
Add a link
Reference in a new issue