1
1
16Gb2017-09-17 09:42:26
css
16Gb, 2017-09-17 09:42:26

Why does cron wget restart?

I am running a parser in PHP through cron, it runs for 6 hours, until recently it worked properly completely, and now it is interrupted by a maximum of 25% and RESTARTED . And the most important thing is that there are no errors in the file (error display is, of course, enabled) that cron creates after itself, it just stops and that's it. That is, there is an output of IDs of goods and just a break at 1234. What could be the reason?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ruslan Ruslanov, 2019-05-31
@dasauser

no way. js works there

A
Anton Usachov, 2019-05-31
@rockfeeler

If you have access to the page code, then you can tweak it a little, and everything will be as it should.
Set these elements by default with the following classes:

<li class="pseudo-link" id="left">
  ...
</li>
<li class="pseudo-link" id="middle">
  ...
</li>
<li class="selected" id="right">
  ...
</li>

And these - with these:
<div class="gr-content js-case_partps-bankruptcy g-hidden" id="gr_case_partps">
  ...
</div>
<div id="gr_case_judges" class="gr-content g-hidden">
  ...
</div>
<div id="gr_case_acts" class="gr-content">
  ...
</div>

B
Boris Korobkov, 2017-09-17
@BorisKorobkov

Wget running for more than 6 hours?
And how many petabytes does it download during this time?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question