Answer the question
In order to leave comments, you need to log in
Page parsing + Cron, how to start the parser by time?
Good day everyone,
Guys wrote a page parser - where I pull out my balance and put it in the database
- because there are several pages where you need to find out the balance and go into each one to watch its niok, for this I actually wrote the parser.
There are GET/POST requests for authorization in
the parser - Question: how to run this parser according to the schedule in cron:
BUT it doesn't run)
Please help me figure it out)
Answer the question
In order to leave comments, you need to log in
You need to specify the full paths to the executable files, because cron is not running in the user's environment where the PATH variable is set.
# which php
/usr/bin/php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question