Insertar Whatsapp (yowsup) en crontab - Raspberry Pi Forums


hola,
instalado whatsapp en mi rpi, usando yowsup (ver siguiente tutorial https://jadasupport.wordpress.com/2015/ ... -whatsapp/).
el caso es que funciona muy bien, pero hay que iniciar el servicio mano cada vez que se reinicia la rpi.

code: select all

cd /home/pi/yowsup  yowsup-cli demos --yowsup --config config /l
alguien podría ayudarme con un simple script que inicie yowsup (whatsapp) en segundo plano, de manera que solo tenga que teclear por ssh los mensajes que quiero enviar??. en realidad me sirve con que esté operativo para escribir:

code: select all

/message send 507xxxxxxxx "tu mensaje de de texto aquí"
gracias

saludos

hola,

podrías hacer lo siguiente:

sudo nano /etc/init.d/yowsupscript

guardarlo con ctrl + o y salir con ctrl + x

hacerlo ejecutable , sudo chmod 755 /etc/init.d/yowsupscript

registrarlo , sudo update-rc.d yowsupscript defaults

y probarlo, sudo reboot

saludos


raspberrypi



Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support