<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The Cron Script</title>
	<atom:link href="http://www.tamba2.org.uk/T2/2005/07/06/the-cron-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tamba2.org.uk/T2/2005/07/06/the-cron-script/</link>
	<description>Eclectic.</description>
	<lastBuildDate>Sun, 03 Jan 2010 17:10:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: All Narfed Up &#187; Blog Archive &#187; Automatic WP backup with Cron</title>
		<link>http://www.tamba2.org.uk/T2/2005/07/06/the-cron-script/comment-page-1/#comment-5976</link>
		<dc:creator>All Narfed Up &#187; Blog Archive &#187; Automatic WP backup with Cron</dc:creator>
		<pubDate>Tue, 25 Oct 2005 20:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/?p=1516#comment-5976</guid>
		<description>&lt;!--%kramer-ref-pre%--&gt;[...] Mark did an awesome job with a few people to help create a script to automate the backup of a WordPress database. I haven&#8217;t tried it yet, but I&#8217;m hopeful that it&#8217;ll work. Sweet! [...]&lt;!--%kramer-ref-post%--&gt;</description>
		<content:encoded><![CDATA[<p><!--%kramer-ref-pre%-->[...] Mark did an awesome job with a few people to help create a script to automate the backup of a WordPress database. I haven&#8217;t tried it yet, but I&#8217;m hopeful that it&#8217;ll work. Sweet! [...]<!--%kramer-ref-post%--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nomad</title>
		<link>http://www.tamba2.org.uk/T2/2005/07/06/the-cron-script/comment-page-1/#comment-4056</link>
		<dc:creator>nomad</dc:creator>
		<pubDate>Fri, 08 Jul 2005 21:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/?p=1516#comment-4056</guid>
		<description>Fixed.  It should work now.</description>
		<content:encoded><![CDATA[<p>Fixed.  It should work now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.tamba2.org.uk/T2/2005/07/06/the-cron-script/comment-page-1/#comment-4053</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 08 Jul 2005 19:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/?p=1516#comment-4053</guid>
		<description>nomad: Sorry about the error - it was found earlier.
It seems to be a combination of the mail line and then the command use. It works fine on ASO servers but not others - as soon as I get a fix I will post it. Sorry!</description>
		<content:encoded><![CDATA[<p>nomad: Sorry about the error &#8211; it was found earlier.<br />
It seems to be a combination of the mail line and then the command use. It works fine on ASO servers but not others &#8211; as soon as I get a fix I will post it. Sorry!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nomad</title>
		<link>http://www.tamba2.org.uk/T2/2005/07/06/the-cron-script/comment-page-1/#comment-4052</link>
		<dc:creator>nomad</dc:creator>
		<pubDate>Fri, 08 Jul 2005 19:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/?p=1516#comment-4052</guid>
		<description>Mark I&#039;m new to shell script but there is something weird here:

if
mail -s &quot;MySQL Backup&quot; -a backup-$DATE.sql.gz $MAILADDR
else
echo &#039;Your mySQL Backup is attached&#039; &#124; mutt -a backup-$DATE.sql.gz $EMAIL -s &quot;MySQL Backup&quot;
then
rm backup-$DATE.sql.gz
fi

If
else
then
fi

Is that correct?</description>
		<content:encoded><![CDATA[<p>Mark I&#8217;m new to shell script but there is something weird here:</p>
<p>if<br />
mail -s &#8220;MySQL Backup&#8221; -a backup-$DATE.sql.gz $MAILADDR<br />
else<br />
echo &#8216;Your mySQL Backup is attached&#8217; | mutt -a backup-$DATE.sql.gz $EMAIL -s &#8220;MySQL Backup&#8221;<br />
then<br />
rm backup-$DATE.sql.gz<br />
fi</p>
<p>If<br />
else<br />
then<br />
fi</p>
<p>Is that correct?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nomad</title>
		<link>http://www.tamba2.org.uk/T2/2005/07/06/the-cron-script/comment-page-1/#comment-4051</link>
		<dc:creator>nomad</dc:creator>
		<pubDate>Fri, 08 Jul 2005 18:40:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/?p=1516#comment-4051</guid>
		<description>Mark,

Got an error:

/home/site/etc/cronjob.sh: line 44: syntax error near unexpected token `else&#039;
/home/site/etc/cronjob.sh: line 44: `else&#039;</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Got an error:</p>
<p>/home/site/etc/cronjob.sh: line 44: syntax error near unexpected token `else&#8217;<br />
/home/site/etc/cronjob.sh: line 44: `else&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.tamba2.org.uk/T2/2005/07/06/the-cron-script/comment-page-1/#comment-4038</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 08 Jul 2005 07:45:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/?p=1516#comment-4038</guid>
		<description>nomad - it should be just fine.
The email address is there as well as in the script. I would install it as I have said, but set it for every hour - then wait until you either get an error message or you get the backup file. It won&#039;t blow up your server :) Your host will be able to advise further.</description>
		<content:encoded><![CDATA[<p>nomad &#8211; it should be just fine.<br />
The email address is there as well as in the script. I would install it as I have said, but set it for every hour &#8211; then wait until you either get an error message or you get the backup file. It won&#8217;t blow up your server :) Your host will be able to advise further.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: If..Else Log</title>
		<link>http://www.tamba2.org.uk/T2/2005/07/06/the-cron-script/comment-page-1/#comment-4035</link>
		<dc:creator>If..Else Log</dc:creator>
		<pubDate>Fri, 08 Jul 2005 01:47:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/?p=1516#comment-4035</guid>
		<description>&lt;strong&gt;Backing up WP using Cron&lt;/strong&gt;

	The WP resource that is Mark provides a handy auto-backup script.

...</description>
		<content:encoded><![CDATA[<p><strong>Backing up WP using Cron</strong></p>
<p>	The WP resource that is Mark provides a handy auto-backup script.</p>
<p>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nomad</title>
		<link>http://www.tamba2.org.uk/T2/2005/07/06/the-cron-script/comment-page-1/#comment-4034</link>
		<dc:creator>nomad</dc:creator>
		<pubDate>Thu, 07 Jul 2005 23:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/?p=1516#comment-4034</guid>
		<description>My Cpanel (Version 10.0.0-RELEASE 149) has the following hints in the cron panel:

Hint: to run PHP files, enter the command as follows (modify to fit your needs):
GET http://yourdomain.com/path_to_file/file.php &gt; /dev/null 

Hint: to run CGI files, enter the command as follows (modify to fit your needs):
GET http://yourdomain.com/cgi-bin/path_to_file/file.cgi &gt; /dev/null 

There is no hint for a .sh file.  May I use cronjob.sh?  Should I include de null directive? Besides, the panel has a field for the e-mail address.  Is cronjob.sh compatible with my server?</description>
		<content:encoded><![CDATA[<p>My Cpanel (Version 10.0.0-RELEASE 149) has the following hints in the cron panel:</p>
<p>Hint: to run PHP files, enter the command as follows (modify to fit your needs):<br />
GET <a href="http://yourdomain.com/path_to_file/file.php" rel="nofollow">http://yourdomain.com/path_to_file/file.php</a> &gt; /dev/null </p>
<p>Hint: to run CGI files, enter the command as follows (modify to fit your needs):<br />
GET <a href="http://yourdomain.com/cgi-bin/path_to_file/file.cgi" rel="nofollow">http://yourdomain.com/cgi-bin/path_to_file/file.cgi</a> &gt; /dev/null </p>
<p>There is no hint for a .sh file.  May I use cronjob.sh?  Should I include de null directive? Besides, the panel has a field for the e-mail address.  Is cronjob.sh compatible with my server?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://www.tamba2.org.uk/T2/2005/07/06/the-cron-script/comment-page-1/#comment-4024</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Wed, 06 Jul 2005 17:26:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/?p=1516#comment-4024</guid>
		<description>Awesome job, Mark! I can&#039;t wait to implement it on my WP databases! :love:</description>
		<content:encoded><![CDATA[<p>Awesome job, Mark! I can&#8217;t wait to implement it on my WP databases! :love:</p>
]]></content:encoded>
	</item>
</channel>
</rss>
