S
S
Sergey2020-01-14 20:56:11
PHP
Sergey, 2020-01-14 20:56:11

How to get data from a file after a time interval?

Hi, sorry if this is a dumb question, I've never done this before.
I have a file on the hosting A.txtwhere I need to write lines from someone else's API, B.txtfor example, every hour (the data B.txtitself changes).
How to do it, where to dig, mb someone will throw an instruction or a useful article.
Thanks in advance!
PS now I just manually go to B.txtand updateA.txt
http://kakoi-to-sait.com/B.txt

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tester12, 2020-01-14
@1Sergey1

crontab

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question