<?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: How to add a daily digest email to Kunena forums (Joomla)</title>
	<atom:link href="http://adamhaeder.com/wordpress/2010/05/13/how-to-add-a-daily-digest-email-to-kunena-forums-joomla/feed/" rel="self" type="application/rss+xml" />
	<link>http://adamhaeder.com/wordpress/2010/05/13/how-to-add-a-daily-digest-email-to-kunena-forums-joomla/</link>
	<description>Your friendly neighborhood geek</description>
	<lastBuildDate>Mon, 26 Mar 2012 02:20:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Adam Haeder</title>
		<link>http://adamhaeder.com/wordpress/2010/05/13/how-to-add-a-daily-digest-email-to-kunena-forums-joomla/comment-page-1/#comment-1518</link>
		<dc:creator>Adam Haeder</dc:creator>
		<pubDate>Thu, 16 Jun 2011 21:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://adamhaeder.com/wordpress/?p=1429#comment-1518</guid>
		<description>Hi JM
Do you mean the script that starts with &quot;#!/bin/bash&quot; ? That&#039;s called a bash shell script, and it&#039;s just a text file. If you want to edit it on linux, log in to your linux box and run these commands:
&lt;code&gt;
$ cd /home/username
$ nano forum_email.sh
Paste the code from my post here and save the file, taking you back to a prompt
$ chmod +x forum_email.sh
&lt;/code&gt;
You should now have a file on your system called /home/username/forum_email.sh that has the executable bit set (that&#039;s what the &#039;chmod&#039; command did). In my example, I&#039;m using the editor &#039;nano&#039; to edit the file. There are many, many other linux editors. If you don&#039;t have nano, you can try &quot;pico&quot; or &quot;joe&quot;. &quot;vi&quot; will surely be there, but it has quite the learning curve, and that&#039;s out of the scope of this article.

Once you have the file in place, you need to tell your system to run it at a scheduled time. This is usually handled by the &#039;cron&#039; facility. You tell cron what to run when by editing your user&#039;s &#039;crontab&#039; file. Run the command &#039;crontab -e&#039; to open up your user&#039;s crontab file in your default editor. Then enter a line like this:
&lt;code&gt;
15 0 * * * /home/user/forum_email.sh
&lt;/code&gt;

This tells cron to run the script at 00:15 everyday (15 minutes after midnight). Change the values to whatever you want.

Hope this helps</description>
		<content:encoded><![CDATA[&nbsp;<p>Hi JM<br />
Do you mean the script that starts with "#!/bin/bash" ? That's called a bash shell script, and it's just a text file. If you want to edit it on linux, log in to your linux box and run these commands:<br />
<code><br />
$ cd /home/username<br />
$ nano forum_email.sh<br />
Paste the code from my post here and save the file, taking you back to a prompt<br />
$ chmod +x forum_email.sh<br />
</code><br />
You should now have a file on your system called /home/username/forum_email.sh that has the executable bit set (that's what the 'chmod' command did). In my example, I'm using the editor 'nano' to edit the file. There are many, many other linux editors. If you don't have nano, you can try "pico" or "joe". "vi" will surely be there, but it has quite the learning curve, and that's out of the scope of this article.</p>
<p>Once you have the file in place, you need to tell your system to run it at a scheduled time. This is usually handled by the 'cron' facility. You tell cron what to run when by editing your user's 'crontab' file. Run the command 'crontab -e' to open up your user's crontab file in your default editor. Then enter a line like this:<br />
<code><br />
15 0 * * * /home/user/forum_email.sh<br />
</code></p>
<p>This tells cron to run the script at 00:15 everyday (15 minutes after midnight). Change the values to whatever you want.</p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John-Michael</title>
		<link>http://adamhaeder.com/wordpress/2010/05/13/how-to-add-a-daily-digest-email-to-kunena-forums-joomla/comment-page-1/#comment-1516</link>
		<dc:creator>John-Michael</dc:creator>
		<pubDate>Thu, 09 Jun 2011 04:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://adamhaeder.com/wordpress/?p=1429#comment-1516</guid>
		<description>Hi Adam!

Thanks for the helpful code.  Sure wish the folks at Kunena would implement this important project.

I&#039;m not a Linux person, and I was able to follow your setup instructions except for the programmatic portion.  What type of file is this and where would I put it?  Your assistance would be greatly appreciated.

JM
Neighborhood Wanna B Geek</description>
		<content:encoded><![CDATA[&nbsp;<p>Hi Adam!</p>
<p>Thanks for the helpful code.  Sure wish the folks at Kunena would implement this important project.</p>
<p>I'm not a Linux person, and I was able to follow your setup instructions except for the programmatic portion.  What type of file is this and where would I put it?  Your assistance would be greatly appreciated.</p>
<p>JM<br />
Neighborhood Wanna B Geek</p>
]]></content:encoded>
	</item>
</channel>
</rss>

