Cronjob Time minimze

Request new functionality here
Huskynarr
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 18 Oct 2015, 17:31

Cronjob Time minimze

Postby Huskynarr » 18 Oct 2015, 17:34

Hey,

My Cronjob Time is on 945 sec. (15 min.), because:
- Too many Feeds
- Too many Feeds not Work
- Too many Feeds that have a long time

For the future, it would be cool to make parallel requests, as well as timeouts for a feed of translated hence not the entire Cronjob depends.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Cronjob Time minimze

Postby fox » 18 Oct 2015, 18:47

there's the forking daemon

Huskynarr
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 18 Oct 2015, 17:31

Re: Cronjob Time minimze

Postby Huskynarr » 18 Oct 2015, 23:27

Thank you.
Do you know whether, and if so, when the fork is merged?
I have the problem that Plesk 12.5 and 8 or Debian the cron job no longer executes. What causes the My News no longer be updated.
Having to manually initiate Everyday Cronjob is no solution. :(

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Cronjob Time minimze

Postby fox » 18 Oct 2015, 23:50

oh boy

I recommend switching to feedly and if possible not posting here anymore


vvv there's also different task ids but lets not encourage op

darknite323
Bear Rating Trainee
Bear Rating Trainee
Posts: 40
Joined: 30 Oct 2013, 15:46

Re: Cronjob Time minimze

Postby darknite323 » 19 Oct 2015, 11:22

Fox is not referring to a code/git fork.

I'd suggest that you re-read this: https://tt-rss.org/gitlab/fox/tt-rss/wikis/UpdatingFeeds
(you had to read it in the first place to setup your cron jobs)

nameless
Bear Rating Master
Bear Rating Master
Posts: 126
Joined: 28 Aug 2013, 20:33

Re: Cronjob Time minimze

Postby nameless » 20 Oct 2015, 14:34

just to clarify:
you might wanna run ./update_daemon2.php
forking is this case only means that there is going to be more than one updater running which is going to reduce update time.
although this is gonna requiere being on a vps not some shitty shared hosting.
do some reading.

Huskynarr
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 18 Oct 2015, 17:31

Re: Cronjob Time minimze

Postby Huskynarr » 29 Oct 2015, 19:21

Sorry, was another Problem.
So happy like everyday with tt-rss. :)

Sorry again ;)

rknobbe-other
Bear Rating Trainee
Bear Rating Trainee
Posts: 13
Joined: 11 Jun 2015, 22:37

Re: Cronjob Time minimze

Postby rknobbe-other » 29 Oct 2015, 22:46

Has anybody written a parser for the update_daemon2.php log file (to correlate PID with Feed name and processing time) for easier identification of the slower feeds? If not, I might take a stab at it tonight (or even better, push the data directly from update_daemon2 into the database for analysis.)


Return to “Feature requests”

Who is online

Users browsing this forum: No registered users and 4 guests