|
@ -1,3 +1,11 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
/home/kevin/coding/spotify-lib-vis/bin/python /home/kevin/coding/spotify-lib-vis/src/manage.py update-history >> /home/kevin/coding/spotify-lib-vis/src/api/management/commands/update-history.log 2>&1 |
|
|
|
|
|
|
|
|
spv_dir="/home/kevin/coding/spotify-lib-vis" |
|
|
|
|
|
src_dir="$spv_dir"/src |
|
|
|
|
|
|
|
|
|
|
|
python="$spv_dir"/bin/python |
|
|
|
|
|
log_file="$src_dir"/api/management/commands/update-history.log |
|
|
|
|
|
|
|
|
|
|
|
source "$src_dir"/scripts/api-keys.sh |
|
|
|
|
|
"$python" "$src_dir"/manage.py update-history >> "$log_file" 2>&1 |
|
|
|
|
|
# "$python" "$src_dir"/manage.py update-history |