04-04-2023, 09:06
Kod:
crontab -e
Te same wpisy na moim kompie system łyka bez problemów.
Sprawdzałem ustawienia pliku crontab należą do użytkownika xxx:crontab
Co robić, żeby zapisać plik.
crontab -e
crontab -e
# codzienne przypomnienia
00 08 * * * DISPLAY=:0 xviewer /home/pawel/Obrazy/alarm/1.gif
05 08 * * * DISPLAY=:0 xviewer /home/pawel/Obrazy/alarm/1.gif
55 09 * * * DISPLAY=:0 xviewer /home/pawel/Obrazy/alarm/1.gif
00 10 * * * DISPLAY=:0 xviewer /home/pawel/Obrazy/alarm/1.gif
hippie@pingwin:~$ crontab -e
# codzienne przypomnienia
00 08 * * * DISPLAY=:0 xviewer /home/hippie/Obrazy/alarm/1.gif
05 08 * * * DISPLAY=:0 xviewer /home/hippie/Obrazy/alarm/1.gif
55 09 * * * DISPLAY=:0 xviewer /home/hippie/Obrazy/alarm/1.gif
00 10 * * * DISPLAY=:0 xviewer /home/hippie/Obrazy/alarm/1.gif
45 10 * * * DISPLAY=:0 google-chrome https://calendar.google.com/calendar/u/0/r
55 13 * * * DISPLAY=:0 xviewer /home/hippie/Obrazy/alarm/2.gif
55 16 * * * DISPLAY=:0 xviewer /home/hippie/Obrazy/alarm/1.gif
55 19 * * * DISPLAY=:0 xviewer /home/hippie/Obrazy/alarm/1.gif
00 20 * * * DISPLAY=:0 xviewer /home/hippie/Obrazy/alarm/1.gif
55 21 * * * DISPLAY=:0 xviewer /home/hippie/Obrazy/alarm/1.gif
00 22 * * * DISPLAY=:0 xviewer /home/hippie/Obrazy/alarm/1.gif
Przy zapisie
crontab: installing new crontab
new crontab file is missing newline before EOF, can't install.
Do you want to retry the same edit? (y/n)
hippie@pingwin:~$ neofetch
`.-::---.. hippie@pingwin
.:++++ooooosssoo:. --------------
.+o++::. `.:oos+. OS: LMDE 5 (elsie) x86_64
:oo:.` -+oo: Host: 20150 Lenovo G580
`+o/` .::::::-. .++-` Kernel: 5.10.0-21-amd64
`/s/ .yyyyyyyyyyo: +o-` Uptime: 1 hour, 51 mins
`so .ss ohyo` :s-: Packages: 2444 (dpkg), 8 (snap)
`s/ .ss h m myy/ /s`` Shell: bash 5.1.4
`s: `oo s m Myy+-o:` Resolution: 1366x768
`oo :+sdoohyoydyso/. DE: Cinnamon 5.6.8
:o. .:////////++: WM: Mutter (Muffin)
`/++ -:::::- WM Theme: Mint-Y-Dark-Aqua (Mint-Y)
`++- Theme: Mint-Y-Aqua [GTK2/3]
`/+- Icons: Mint-Y-Aqua [GTK2/3]
.+/. Terminal: gnome-terminal
.:+-. CPU: Intel Pentium B960 (2) @ 2.200GHz
`--.`` GPU: Intel 2nd Generation Core Processor Family
Memory: 1726MiB / 7853MiB