LoginSignup
14
12

More than 5 years have passed since last update.

cron で pyvenv 下の Python を実行させる

Last updated at Posted at 2014-07-12

source とかじゃうまくいかなかったのでメモ

cd /home/my/project && /home/my/virtual/bin/python /home/my/project/manage.py > /tmp/cronlog.txt 2>&1

最後の /tmp/cronlog.txt 2>&1 はエラーログの吐き出しです

cf.

14
12
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
12