Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Adds virtualenv activation to cron jobs for pycon #149

Closed
wants to merge 1 commit into from

Conversation

calebsmith
Copy link

The cron jobs for the Pycon site don't activate the virutalenvironment. This makes the expunge_deleted management command unavailable because it isn't on the PYTHON_PATH

@ewdurbin
Copy link
Member

@calebsmith by executing off of the python interpreter from the virtualenv's path, they should get all the same goodies provided by activate.

can you confirm there is an issue with execution?

@calebsmith
Copy link
Author

I should mention, I started this work based on this issue: PyCon/pycon2019#376

I didn't notice the full path to that python. Doing it that way, I can't reproduce the problem. I'll close this and re-open later if I can confirm what is going wrong with the person that filed the issue

@calebsmith calebsmith closed this Jun 30, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants