Question: |
Hello, could you send me an example command for the crown. |
Answer: |
Hello 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 Have a cron job add the command /usr/bin/php spacebar Polnymi > /dev/null 2>&1 /usr/bin/php5 gap Polnymi.php> /dev/null 2>&1 , putting 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`ve already read but the man does not know how it is done it does not help. In Linux in the crown I write */2 * * * * /var/www/html/title сайта/index.php this is a concrete example. Your description is not clear to me what is \"/dev/null 2>&1\" is. Could you throw me a real example please. |
Answer: |
/dev/null 2>&1 is inserted as is. You need to change in your znachenii only the path to the file |
Question: |
ahh apparently I understood, the time in the string \"Team\" does not indicate only the path to the file time selectable from the menu? |
Answer: |
here`s a handy calculator time http://www.corntab.com/pages/crontab-gui |
Question: |
Tell me in which folder should be the site itself index.php for example and whether to run it on a test hosting http://sdfgbnhm.com/ ? introduced Ubaldi =) |
Answer: |
sdfgbnhm.com it will not work. the domain does not exist upload the website files to the public_html folder |
Question: |
OK, but what address should I put in the browser to see the result of writing? |
Answer: |
You can use Your test domain. elmian.testv3.testforhost.com |
Question: |
Thank you very much for the help, I hope I`m not boring. When you search for your problem in the FAQ section of the hosting found error \"Hello. I have bought from You hosting but I haven`t decided on the domain you can provide me the domain, because some site features are not working when obra!!!!Z!!!!sent over ip.\" Fix) |
Answer: |
Thanks, error corrected. |