Forums

'Task preparing to start' state of always-on task

Hello!

I'm trying to run bash file in always-on task with command:

bash /home/ssdx/run_wobot.sh

but it remains at a 'starting' state with 'Task preparing to start' message only in 'actions' log. Meanwhile executing the same command in a bash console is successful - i can see logs of the script working and my bot is operating.

I've already done chmod +x /home/ssdx/run_wobot.sh command in a bash console to prevent 'Permission denied' error.

The file run_wobot.sh refers to a python script in the same directory:

1
2
#!/bin/bash
python3.8 -u /home/ssdx/op_wo_bot.py &

Adding hashbang #!/usr/bin/python3.8 in the python script doesn't help.

What could be wrong?

Made it work at last. It seems that & symbol at the end of bash command was the reason of a silent error.

Glad you figured that out!