![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 309
Karma: 2644486
Join Date: Dec 2011
Device: PW3, Nook Simple Touch
|
Scheduled Jobs not working
I took a mini-break from Calibre for a couple of months. I have 5 scheduled jobs and 3 of them are daily. I used to turn on my laptop and have Calibre running every morning and the jobs would auto-start. I returned to this practice yesterday (and also updated Calibre) and even though I have Calibre running, the scheduled jobs do not run. Same this morning.
I manually ran the recipes and ultimately only 2 of worked. The NYT and Smithsonian were sent to my Paperwhite. The LA Times downloaded successfully but emailing to the PW failed. It seems a myriad of things broke while I was on my mini-break. I did update Calibre though so I have the latest version. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There havent been any changes to the scheduler code in calibre in years. However it is conceivable that the update to python 3 broke something. Run calibre in debug mode and post the log after the scheduled jobs fali to auto-start.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 309
Karma: 2644486
Join Date: Dec 2011
Device: PW3, Nook Simple Touch
|
Opened Calibre, intending to follow your debug suggestion but auto schedule kicked in. Not sure what happened because I didn't do anything...but happy to see it working.
The LA Times failing to email persists though. Again the recipe works but emailing is a no go. Emailing of NYT and Washington Post is working so it's not an overall emailing issue but rather something very specific to LA Times recipe? Is it something to do with the size of the attachment? Spoiler:
Last edited by theducks; 10-17-2020 at 02:25 PM. Reason: spoilered logs |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yes, its too large, see the line
smtplib.SMTPSenderRefused: (552, b'Requested mail action aborted: exceeded storage allocation', '@gmx.com') |
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 309
Karma: 2644486
Join Date: Dec 2011
Device: PW3, Nook Simple Touch
|
Can the LA Times recipe be made smaller?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You are welcome to customize it for your own needs.
|
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 309
Karma: 2644486
Join Date: Dec 2011
Device: PW3, Nook Simple Touch
|
Sorry, not got the technical skills. I opened up the LA Times job to see if I could do anything there. I decreased the days delete for news from 31 days to 2 but that didn't make any difference. Where would I begin to make the recipe smaller? Looking at the NYT, it's about 4mb and the WP is 12mb, whereas the LAT is 52mb.
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just add
Code:
compress_news_images = True compress_news_images_auto_size = 5 |
![]() |
![]() |
![]() |
#9 |
Member
![]() ![]() Posts: 14
Karma: 132
Join Date: Aug 2014
Device: Kindle Paperwhite 7th Gen
|
In the following line of code, if I want to decrease the image quality, do I increase the number or decrease it?
Code:
compress_news_images_auto_size = 5 |
![]() |
![]() |
![]() |
#10 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 309
Karma: 2644486
Join Date: Dec 2011
Device: PW3, Nook Simple Touch
|
|
![]() |
![]() |
![]() |
#11 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can we move jobs up when running many news fetch jobs ? | mixedbag | Recipes | 3 | 03-18-2016 12:26 AM |
Scheduled tasks | Acuum | Kindle Developer's Corner | 4 | 10-03-2010 10:38 PM |
Scheduled Wireless? | Oddjob | Kindle Developer's Corner | 3 | 08-18-2010 10:42 AM |