Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-18-2026, 09:29 AM   #1
mrijnvis
Junior Member
mrijnvis began at the beginning.
 
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?
mrijnvis is offline   Reply With Quote
Old 08-18-2026, 01:42 PM   #2
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
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.
Quoth is offline   Reply With Quote
Old 08-19-2026, 03:21 PM   #3
mrijnvis
Junior Member
mrijnvis began at the beginning.
 
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.
mrijnvis is offline   Reply With Quote
Old Yesterday, 12:46 AM   #4
mrijnvis
Junior Member
mrijnvis began at the beginning.
 
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
mrijnvis is offline   Reply With Quote
Old Yesterday, 12:47 AM   #5
mrijnvis
Junior Member
mrijnvis began at the beginning.
 
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
mrijnvis is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 06:24 AM.


MobileRead.com is a privately owned, operated and funded community.