I just returned the first dongle to amazon. Unfortunately the second one is a little more expensive but it worked for me.
i bought it from the shop since more then 1 month haha
omg i just noticed that i missed the word table in my script haaha. Now its working
Leon, Could you please send me the code of your cronjob command i feel yours will work more then the google one
Thank you
Glad to hear!
You just go into the crontab file:
sudo su
sudo crontab -e
Then you can set the reboot automation intervals. Just scroll to the end of the document and add the following line. You exchange the stars with the prefered values:
* * * * * sudo reboot
Itβs configured like this:
- minutes (0-59)
- hours (0-23)
- day of the month (1-31)
- month (1-12)
- day of the week (0-7)
So to reboot every 6 hours the command should look like this:
* */6 * * * sudo reboot
To reboot every day at 12pm for example it would look like this:
* 12 * * * sudo reboot
Hope this helps
Thanks a lot Leon
i did the research and one thing i didnt get. Dont we need to run the startproxy
.sh after we reboot?
You can add another line in the sudo crontab -e
to let scripts start on boot:
@reboot python3 /home/pi/3proxy/startproxy.sh
thanks leon, i am working on script to restart the usb itself instead of the whole raspberry. I will update you if i make it
Let me know! This would be the more elegant method