<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Echo Echo on Amit Agarwal Linux Blog</title>
    <link>/tags/echo-echo/</link>
    <description>Recent content in Echo Echo on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 27 May 2010 20:26:33 +0000</lastBuildDate>
    
	<atom:link href="/tags/echo-echo/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Checking the links to your site (from affiliates) using cron and bash script.</title>
      <link>/2010/05/28/checking-links-site-affiliates-cron-bash-script/</link>
      <pubDate>Thu, 27 May 2010 20:26:33 +0000</pubDate>
      
      <guid>/2010/05/28/checking-links-site-affiliates-cron-bash-script/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you have some affiliate links and are concerned about their presence then you can setup &amp;lt;a class=&amp;quot;zem_slink freebase/guid/9202a8c04000641f80000000045c9c5b&amp;quot; title=&amp;quot;Cron&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Cron&amp;quot;&amp;gt;cron&lt;/a&gt; to check the links for you regularly. For this you need a very simple script (as below) and a cron entry (example further down).&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#!/bin/bash –&lt;br&gt;
#===============================================================================&lt;/p&gt;
&lt;h1 id=&#34;heading&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#          FILE:  checklinks.sh&lt;/p&gt;
&lt;h1 id=&#34;heading-1&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#         USAGE:  ./checklinks.sh&lt;/p&gt;
&lt;h1 id=&#34;heading-2&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#   DESCRIPTION:  Check if the links exists on affiliate sites&lt;/p&gt;
&lt;h1 id=&#34;heading-3&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#       OPTIONS:  —&lt;br&gt;
#  REQUIREMENTS:  —&lt;br&gt;
#          BUGS:  —&lt;br&gt;
#         NOTES:  —&lt;br&gt;
#        AUTHOR:  &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Amit Agarwal&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://amit-agarwal.co.in&amp;quot;&amp;gt;Amit Agarwal&lt;/a&gt; (AKA), &lt;a href=&#34;mailto:amit.agarwal@amit-agarwal.co.in&#34;&gt;amit.agarwal@amit-agarwal.co.in&lt;/a&gt;&lt;br&gt;
#       COMPANY:  Individual&lt;br&gt;
#       VERSION:  1.0&lt;br&gt;
#       CREATED:  04/07/2010 08:19:29 AM IST&lt;br&gt;
#      REVISION:  —&lt;br&gt;
#===============================================================================&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
