Question: |
What command is required to write a scheduler to run the file index.php at the root of the website? |
Answer: |
Hello. specify what kind of website is it? |
Question: |
sportw1n.isp1.erahost.ru |
Answer: |
please specify the purpose of the script. what will he do? |
Question: |
the script will perform the daily accruals for the balance of the user |
Answer: |
ie. sportw1n.isp1.erahost.ru/index.php performs daily charges? and if someone comes to your site? will also be vypolnjaja daily accrual? please specify what exactly must be performed, that is: to determine the team crown |
Question: |
index.php it was an example.Specifically, you want to run sportw1n.isp1.erahost.ru/protected/yiic with parameter calculate |
Answer: |
it was the wrong example. ln is fundamentally changing the essence of the team. please give the full query. |
Question: |
the file is located in sportw1n.isp1.erahost.ru/protected/yiic the attribute calculate |
Answer: |
http://www.erahost.ru/faq.php Help to configure cron jobs. I want the file http://domen.ru/1.php starts every day at 24:00 answer the question
you Need in the cron job add the command /usr/bin/php Polnymi space.RR > /dev/null 2>&1 /usr/bin/php5 gap Polnymi.php> /dev/null 2>&1 indicated in the minute 0, hour 24, and in the remaining fields, leave the asterisk.
or wget -O - -q-t 1 http://yourdomain.com/cron.php > /dev/null 2>&1 key \"-O\" specifies the output to the console (instead of saving to a file), \"-q\" makes it quiet (no screen output) and \"-t 1\" specifies to make only one connection attempt. |
Question: |
I want to know the full path to the file where to get...access to the file is carried out only via the console(security measures). |
Answer: |
the Full path to your file you can look in the file Manager in the path. It includes the folder /home/sportw1n |