crontab setup.py install fail on srvcalc
I got this line on my crontab on srvcal01
30 2 * * * cd /mnt/ea/users/eroubin/ttk/RandomWaffle && git pull && source venv/bin/activate && pip install -r requirements.txt && python setup.py install
in order to have an updated version easily available for everyone.
It gives me this error:
From gricad-gitlab.univ-grenoble-alpes.fr:ttk/RandomWaffle
c86c6d3..439ff30 master -> origin/master
* [new branch] flatarray -> origin/flatarray
Updating c86c6d3..439ff30
Fast-forward
setup.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
/bin/sh: 1: source: not found
He manages to pull but I don't get why it stops there. Is it the virtualenv
?. When I do the comment myself it works fine.
Edited by Emmanuel Roubin