


<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Walnutz &#187; linux</title>
	<atom:link href="http://blog.walnutz.net/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.walnutz.net</link>
	<description>Walnutz</description>
	<lastBuildDate>Wed, 10 Feb 2010 17:50:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Crontab PHP under Linux not running?</title>
		<link>http://blog.walnutz.net/crontab-php-under-linux-not-running.html</link>
		<comments>http://blog.walnutz.net/crontab-php-under-linux-not-running.html#comments</comments>
		<pubDate>Fri, 05 Jun 2009 07:36:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.walnutz.net/?p=35</guid>
		<description><![CDATA[Cron is very useful tool in linux to made scheduler task for general purpose, like backup data, script execution and others.
The most used crontab under linux is for executing PHP script, but sometimes this crontab is not running well. Its happen because php CLI (Command Line Interface) is not installed in your file server.
You can [...]]]></description>
			<content:encoded><![CDATA[<p>Cron is very useful tool in linux to made scheduler task for general purpose, like backup data, script execution and others.</p>
<p>The most used crontab under linux is for executing PHP script, but sometimes this crontab is not running well. Its happen because php CLI (Command Line Interface) is <span id="more-33"></span>not installed in your file server.</p>
<p>You can test this php CLI command via console, by typing</p>
<blockquote><p>php /var/www/some-script.php</p></blockquote>
<p>and if php CLI not installed yet, you should get an error message like this</p>
<blockquote><p>The program &#8216;php&#8217; is currently not installed. You can install it by typing:<br />
apt-get install php5-cli<br />
bash: php: command not found</p></blockquote>
<p><a href="http://walnutz.net"><img src="http://i40.tinypic.com/souwr7.gif" border="0" alt="PHP CLI" title="PHP CLI" /></a></p>
<p>To fix this you must install it first by typing &#8216;apt-get install php5-cli&#8217; (without quotes). Wait until the process is done and you can run crontab to executing your PHP scripts. <img src='http://blog.walnutz.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.walnutz.net%2Fcrontab-php-under-linux-not-running.html';
  addthis_title  = 'Crontab+PHP+under+Linux+not+running%3F';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://blog.walnutz.net/crontab-php-under-linux-not-running.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
