I have already a two python script running on a rpi on startup with crontab, syntax is something like this:
@reboot python /home/scripts/my_script_a.py > /home/log/a.log 2>&1 & @reboot python /home/scripts/my_script_b.py > /home/log/b.log 2>&1 &
The scripts can take several hours to complete, so by now I'm logging the info, and accesing via sftp to see the output, but I would like to open the process output in a ssh terminal, send commands to the scripts, and see the output in real time, is this possible?
I'm logging in via ssh with the same user as the scripts are running. Thanks for your time.