|
|
#1 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2026
Device: kobo
|
raspberry pi 5 cron
i have running Calibre on my Pi 5
calibre wil start when i open the cli and type calibre i want to start and stop calibre (in the gui) on specific times in my (root) crontab i have 0 2 * * * pkill -f calibre works fine but i can't start calibre in my cron i also want to start calibre on booting the pi can anybody help me? |
|
|
|
|
|
#2 |
|
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,633
Karma: 114630515
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Which Pi Distro?
MX Linux (no systemd?) may be very different to Rasperian etc. |
|
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2026
Device: kobo
|
Raspberry Pi 64 bit (debian)
Last edited by mrijnvis; 08-19-2026 at 03:25 PM. |
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2026
Device: kobo
|
found it
crontab as user not su #start Calibre 10 2 * * * export DISPLAY=:0 && calibre #stop Calibre 0 2 * * * export DISPLAY=:0 && calibre -s thanks |
|
|
|
|
|
#5 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2026
Device: kobo
|
autostart
1. Create the autostart directory: mkdir -p /home/pi/.config/autostart 2. Open a new text file in your preferred editor. 3. Add the following three lines: [Desktop Entry] Type=Application Exec=mousepad Replace mouespad with the command of your choice. 4. Save in /home/pi/.config/autostart with a name ending in .desktop e.g. mousepad.desktop |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WiFi -- Installing cron/crond | laidig | Kobo Developer's Corner | 4 | 06-29-2015 10:41 PM |
| Missing cron on Kindle 4.1.2 | Rocketmagnet | Kindle Developer's Corner | 2 | 05-06-2015 09:43 AM |
| KT - Schedule wifi downloads with cron? | brianinmaine | Kindle Developer's Corner | 14 | 03-02-2013 03:18 PM |
| KT - Schedule wifi downloads with cron? | brianinmaine | Amazon Kindle | 0 | 02-26-2013 04:10 PM |
| calibre & cron problem | Deputy-Dawg | Calibre | 4 | 06-19-2008 09:56 PM |