How to force a refresh of the web page via CLI
Closed this issue · 2 comments
rklueber commented
Hello,
is there a way to login via SSH and force a reload of the page?
Regards
Ralf
allcoolusernamesaregone commented
You could use the example of the hourly reload of the website as contained in the crontab of user pi
Example: Reload webpage every hour
0 * * * * xdotool key ctrl+R
rklueber commented
Hi, thanks 1000 times. Script I added was:
reload.sh
#!/bin/bash
DISPLAY=:0 xdotool key ctrl+R
works like a charm.
Regards
Ralf