My scheduled tasks used to work fine. Now a days every time i get below error. BTW code works when I manually run it.
24 Killed python /bin/run_scheduled_task.py 'source virtualenvwrapper.sh && workon rizenv && python /home/rizpython236/BT5/trade_compiler.py'
2022-01-03 08:08:28 -- Completed task, took 43402.19 seconds, return code was 137.