crontab: ease the customization of path/pythonpath

now only the variable GHLISTER_ROOT at the beginning of the crontab needs to be
properly customized
This commit is contained in:
Stefano Zacchiroli 2015-09-11 10:07:05 +02:00
parent fb4d0a3b7c
commit 28aa210348
2 changed files with 5 additions and 3 deletions

View file

@ -1,2 +1,4 @@
GHLISTER_ROOT=$HOME/src/swh-lister-github
# m h dom mon dow command
0 8 * * * $HOME/bin/update-github-list
0 8 * * * PATH=$GHLISTER_ROOT/bin:$PATH PYTHONPATH=$GHLISTER_ROOT update-github-list