Ok the problem was that the python command must be the one of the env.
So this works:
nohup ~/apps/web2py_folder1/env/bin/python 
~/apps/web2py_folder1/web2py/web2py.py -K myapp1 &

However I've another another web2py in another folder with another app and 
it don't works:
nohup ~/apps/web2py_folder2/env/bin/python 
~/apps/web2py_folder2/web2py/web2py.py -K myapp2 & 
[1] 29291
$ nohup: ignoring input and appending output to ‘nohup.out’
[1]+  Exit 1                  nohup env/bin/python web2py/web2py.py -K 
myapp2

What a headache...
Il giorno martedì 10 novembre 2020 alle 12:55:35 UTC+1 Ramos ha scritto:

> it worked for me. 
>
> Em ter., 10 de nov. de 2020 às 09:25, Gaël Princivalle <
> gaelpri...@gmail.com> escreveu:
>
>>
>> Hello.
>>
>> Did someone tried to use the scheduler on Opalstack?
>>
>> I was used to run this command to start a worker in Webfaction but in 
>> Opalstack it don't works:
>> nohup python web2py.py -K applicationname & 
>>
>> I've tried in also in the virtualenv no way.
>>
>> Someone knows how I can do it?
>>
>> Thanks.
>>
>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/58d806b1-48e1-473b-82d4-5e2aaa0c8002n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/web2py/58d806b1-48e1-473b-82d4-5e2aaa0c8002n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/9704318e-b8c2-49d8-949a-aff0db094227n%40googlegroups.com.

Reply via email to