Question: |
Hello! Please tell me how to create a cron task? |
Answer: |
Hello http://www.ukrline.com.ua/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: |
this, I realized, where am I to go to set Kron? |
Answer: |
in cpanel in cron menu http://ded07.net/ help on how to use the panel
|
Question: |
all, thanks, once I saw |
Answer: |
ok |
Question: |
sorry, I have another question, a little do not understand, I need to run the command \"php -f shell/indexer.php reindexall\" full path \"public_html/gigaopt.com.ua/shell/indexer.php\" what I need to do for the team? |
Answer: |
/usr/bin/php5 /home/flyte/public_html/gigaopt.com.ua/shell/indexer.php > /dev/null 2>&1 here is |
Question: |
but where to add the key reindexall? |
Answer: |
then do something like wget -O - -q-t 1 http://yourdomain.com/cron.php > /dev/null 2>&1 |