I'm following indications at How to run the web2py scheduler on PythonAnywhere. It's OK when I launch
python3.7 /home/oscarHR/scheduler_oscar_app.py
from bash console, web2py scheduler tasks starts running.
But when the same instruction is launched from pythoneverywhere task it doesnt run. The log says:
rm: cannot remove '/mnt/chroots/oscarHR/fishnchips/dev/shm': Device or resource busy
Failed to acquire lock, task must already be running
2021-04-18 12:27:07 -- Completed task, took 2.52 seconds, return code was 0.