Answer the question
In order to leave comments, you need to log in
How to make cron follow a link?
Let's imagine that my token is being updated at the site.ru/ajax&refresh link, how can I make the cron just "follow" this link so that the script works?
Answer the question
In order to leave comments, you need to log in
Make a GET request on this link, for example:file_get_contents('site.ru/ajax&refresh');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question