Answer the question
In order to leave comments, you need to log in
How to configure php file execution cron?
In general, such a story, there was a site on the server and the task was to update the crown. Then the hoster fell and then said that the servers had died and rolled back the backup half a year ago which.
To a new server, new software, etc.
On the old server, cron tasks looked like this
30 0 * * * /usr/bin/lynx -dump -auth=admin:admin -source https://site.ru/simpla/import.php > /dev/null 2>&1; /usr/bin/lynx -dump -auth=admin:admin -source https://site.ru/simpla/import1.php > /dev/null; /usr/bin/lynx -dump -auth=admin:admin -source https://site.ru/simpla/ajax/import.php > /dev/null;
Answer the question
In order to leave comments, you need to log in
lynx is such a text browser. It is not necessary. Use curl. It supports authentication and other goodies.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question