Forums

Scheduled task error

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.

There's 12h cutoff time set for paying users -- if your scheduled task runs longer it will be killed. If you need long running jobs, use Always-on tasks instead.