문제

I have a long-running daily cron on OpenShift. It takes a couple hours to run. I've added nohup and I'm running it in the background. It still seems to timeout at the default 5 minutes (It works appropriately for this time). I'm receiving no errors and it works perfectly fine locally.

nohup python ${OPENSHIFT_REPO_DIR}wsgi/manage.py do_something >> \ ${OPENSHIFT_DATA_DIR}do_something_data.log 2> \ ${OPENSHIFT_DATA_DIR}do_something_error.log &

Any suggestions is appreciated.

도움이 되었습니까?

해결책

I'm lazy. Cut and paste :)

I have been told 5 minutes is the limit for the free accounts. That includes all background processes. I asked a similar question here on SO.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top