Set crontab env more conveniently.
This commit is contained in:
parent
0fd3a2a04b
commit
94f8e933e0
@ -1,3 +1,5 @@
|
|||||||
|
DISPLAY=:0.0
|
||||||
|
|
||||||
# ┌───────────── minute (0 - 59)
|
# ┌───────────── minute (0 - 59)
|
||||||
# │ ┌───────────── hour (0 - 23)
|
# │ ┌───────────── hour (0 - 23)
|
||||||
# │ │ ┌───────────── day of month (1 - 31)
|
# │ │ ┌───────────── day of month (1 - 31)
|
||||||
@ -19,7 +21,7 @@
|
|||||||
# 10 3 * * 1-5 ~/display-off.sh
|
# 10 3 * * 1-5 ~/display-off.sh
|
||||||
|
|
||||||
# Example: Reload webpage every hour
|
# Example: Reload webpage every hour
|
||||||
# 0 * * * * DISPLAY=:0.0 xdotool key ctrl+R
|
# 0 * * * * xdotool key ctrl+R
|
||||||
|
|
||||||
# Example: Cycle between open tabs every 5 minutes
|
# Example: Cycle between open tabs every 5 minutes
|
||||||
# */5 * * * * DISPLAY=:0.0 xdotool key ctrl+Tab
|
# */5 * * * * xdotool key ctrl+Tab
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user