I don't know how to explain myself but I need to send scheduled messages via telegram so I downloaded the telegram client to send messages via terminal. I wrote a bash script that opens the client, everything here is going according to plan then it opens the telegram command line and my script doesn't run accordingly. How can I make work?
This is the script, nothing difficult:
#!/bin/bash cd /home/ospite/tg bin/telegram-cli -k tg-server.pub //opening telegram client sleep 30 chat_with_peer Antonio //it doesn't work because it's not the debian shell anymore done