How To Use Robots & Spammers To Run Your Cron Jobs Come utilizzare i robot e gli spammer per eseguire il cron posti di lavoro
Many online blogging software and other products require some type of cron and / or asynchronous execution functionality. Molti software blogging on-line e di altri prodotti richiedono qualche tipo di cron e / o asincrona esecuzione funzionalità. Spammers and web robots are an essential part of any website today. Spammer e web robot sono una parte essenziale di qualsiasi sito web di oggi. Most web hosting providers, especially on shared hosting, do not provide cron functionality. La maggior parte di web hosting provider, in particolare per quanto riguarda l'hosting condiviso, non forniscono funzionalità di cron. Let’s see how we can leverage spammers and web robots (like MSN bot) to get our perodic or asynchronous jobs done. Vediamo come si possa sfruttare spammer e web robot (come MSN bot) per ottenere il nostro perodic o asincrona posti di lavoro svolto.
Using robots.txt Utilizzando robots.txt
You can use .htaccess to use a php (or any other server side scripting language like jsp or asp) file to serve your robots.txt. È possibile utilizzare. Htaccess per l'utilizzo di un php (o qualsiasi altro lato server linguaggio di scripting come jsp o asp) il file di servire il tuo file robots.txt. Then when you find unfamiliar (and less useful or useless) robots, you can trigger your cron job. Poi, quando si trova poco familiare (e meno utili o inutili) robot, è possibile attivare il tuo cronologico. That way the robot gets some delay (who cares?) and your job gets done, without bothering your users with unexpected delay. In questo modo il robot ottiene un certo ritardo (che si prende cura?) E il tuo lavoro viene svolto, senza preoccuparsi gli utenti con ritardo imprevisto.
Using spammers: Utilizzando gli spammer:
Several spammers are easily caught by simple .htaccess rules. Spammer sono più facilmente catturati da semplice. Htaccess regole. Instead of denying them access you can re-direct them to a php file which then triggers your cron jobs or background processes. Invece di negare loro l'accesso è possibile re-diretto a un file php che poi fa scattare il vostro cron posti di lavoro o processi in background. As an added benefit it slows down their rate of spamming. Come un ulteriore vantaggio che rallenta il loro tasso di spam.
Caveat: If you have a brand new blog then you may not get much robot juice or spam attack. Caveat: Se hai un blog nuovo di zecca, si potrebbe non avere molto robot succo di frutta o spam attacco.
Credit: The idea of using robots.txt was conceived (as far as I know) by Brian Layman and others are ethusiastically following it with their own variants currently in Di credito: L'idea di usare robots.txt è stato concepito (per quanto ne so) da Brian laico e altri sono ethusiastically seguito con le loro varianti attualmente in wp-hackers WP-hacker mailing list. mailing list.
Filed under Elencato sotto CMS Software CMS Software , Headline News Headline News , How To Come , Java Software Software Java , PHP , Pro Blogging Pro Blogging , Tech Note Nota tech , Web , Web Hosting Web Hosting , Web Services Servizi Web , WordPress | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | questo articolo |
Email this Article Invia questo articolo
You may also like to read Si può anche leggere come |




August 7th, 2006 at 3:34 pm Agosto 7th, 2006 at 3:34 pm
Sir/ madam, Signore / Signora,
I want a FREE script by which I can host Wordpress Blogs on Sub Domains on my website, for my users. Voglio uno script di LIBERA che mi può ospitare a WordPress Blogs Sotto Domini sul mio sito web, per i miei utenti.
I want full version script. Voglio versione completa di script.
No Demos. N. Demo.
Thanx.