het lukt me niet om op mijn Raspberry Pi (Raspbian) een script via crontab te laten draaien elke minuut.
*ingelogd als: pi(default)
Ik heb het volgende script:
export DISPLAY=:"0.0"
XAUTHORITY=/home/pi/.Xauthority
xdotool getactivewindow
xdotool key F5
opgeslagen als: /usr/local/bin/refresh.sh
Als ik het commando: "sh refresh.sh" doe, dan doet het script het wel en refreshen hij de webpagina.
*Ik heb dit script als chmod to +x en 0755
In crontab heb ik nu:
*/1 * * * * /usr/local/bin/refresh.sh
Er gebeurd echter helemaal niks....
*ingelogd als: pi(default)
Ik heb het volgende script:
export DISPLAY=:"0.0"
XAUTHORITY=/home/pi/.Xauthority
xdotool getactivewindow
xdotool key F5
opgeslagen als: /usr/local/bin/refresh.sh
Als ik het commando: "sh refresh.sh" doe, dan doet het script het wel en refreshen hij de webpagina.
*Ik heb dit script als chmod to +x en 0755
In crontab heb ik nu:
*/1 * * * * /usr/local/bin/refresh.sh
Er gebeurd echter helemaal niks....