jareware/chilipie-kiosk

How to force a refresh of the web page via CLI

Closed this issue · 2 comments

Hello,

is there a way to login via SSH and force a reload of the page?

Regards
Ralf

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

Hi, thanks 1000 times. Script I added was:

reload.sh

#!/bin/bash

DISPLAY=:0 xdotool key ctrl+R

works like a charm.

Regards
Ralf