Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /var/www/****/***/run.sh path_to_my/script.py 2>&1 >> /var/www/****/***/test.log
- #!/usr/bin/env bash
- wd=$(dirname $0)
- source ${wd}/virtualenv/bin/activate
- python ${wd}/$1
- if __name__ == "__main__":
- print("I got in here...")
- */30 * * * * /var/www/****/***/run.sh path_to_my/script.py 2>&1 >> /var/www/****/***/test.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement