<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
	>
<channel>
	<title>Comments on: Gotchas with running a Perl script as a cron job</title>
	<atom:link href="http://www.itauthor.com/2010/08/03/gotchas-with-running-a-perl-script-as-a-cron-job/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itauthor.com/2010/08/03/gotchas-with-running-a-perl-script-as-a-cron-job/</link>
	<description>Stuff about technical writing and software</description>
	<lastBuildDate>Sat, 04 Feb 2012 23:42:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jan</title>
		<link>http://www.itauthor.com/2010/08/03/gotchas-with-running-a-perl-script-as-a-cron-job/comment-page-1/#comment-7694</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Tue, 13 Dec 2011 06:01:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.itauthor.com/2010/08/03/gotchas-with-running-a-perl-script-as-a-cron-job/#comment-7694</guid>
		<description>Hi,  
 
I ran in to a similar problem. I used the -I ( as in India ) flag in perl to fix it.  
 
- i created a wrapper script wrapper.sh for my perl script  
- within the wrapper.sh, i added this call :  
/path/to/your/perl/bin -I/path/to/perl5lib/ -I/path/to/more/modules perlscript.pl  
 </description>
		<content:encoded><![CDATA[<p>Hi,  </p>
<p>I ran in to a similar problem. I used the -I ( as in India ) flag in perl to fix it.  </p>
<p>- i created a wrapper script wrapper.sh for my perl script<br />
- within the wrapper.sh, i added this call :<br />
/path/to/your/perl/bin -I/path/to/perl5lib/ -I/path/to/more/modules perlscript.pl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anand</title>
		<link>http://www.itauthor.com/2010/08/03/gotchas-with-running-a-perl-script-as-a-cron-job/comment-page-1/#comment-7693</link>
		<dc:creator>Anand</dc:creator>
		<pubDate>Thu, 08 Dec 2011 04:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.itauthor.com/2010/08/03/gotchas-with-running-a-perl-script-as-a-cron-job/#comment-7693</guid>
		<description>I have a perl script , when executed directly from command prompt. It works and displays the result. However, when I invoke the perl script from a shell script for scheduling, it doesnt work.  My shell script is 
 
#a.sh 
 
at -f /tmp/a.pl now 
 
 
Even I am confused to find out where the error  file in the system.  I am completly in the dark right now.  Any help would be appreciated. 
 
Thanks, 
Gulla </description>
		<content:encoded><![CDATA[<p>I have a perl script , when executed directly from command prompt. It works and displays the result. However, when I invoke the perl script from a shell script for scheduling, it doesnt work.  My shell script is </p>
<p>#a.sh </p>
<p>at -f /tmp/a.pl now </p>
<p>Even I am confused to find out where the error  file in the system.  I am completly in the dark right now.  Any help would be appreciated. </p>
<p>Thanks,<br />
Gulla</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @Skootaman</title>
		<link>http://www.itauthor.com/2010/08/03/gotchas-with-running-a-perl-script-as-a-cron-job/comment-page-1/#comment-7659</link>
		<dc:creator>@Skootaman</dc:creator>
		<pubDate>Wed, 05 Oct 2011 14:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.itauthor.com/2010/08/03/gotchas-with-running-a-perl-script-as-a-cron-job/#comment-7659</guid>
		<description>This has really helped me out today, many thanks! </description>
		<content:encoded><![CDATA[<p>This has really helped me out today, many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://www.itauthor.com/2010/08/03/gotchas-with-running-a-perl-script-as-a-cron-job/comment-page-1/#comment-7278</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Wed, 01 Sep 2010 14:58:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.itauthor.com/2010/08/03/gotchas-with-running-a-perl-script-as-a-cron-job/#comment-7278</guid>
		<description>This is an extremely helpful post.  It&#039;s a relief to finally have an explanation for all the problems I&#039;ve had with cron and Perl.  But it confirms for me that two should never be used together.  There are just far too many headaches.  My Ubuntu system doesn&#039;t even produce the error you show at the top of the post, leaving the poor user completely in the dark regarding why the script isn&#039;t running.  Pure rubbish. </description>
		<content:encoded><![CDATA[<p>This is an extremely helpful post.  It&#039;s a relief to finally have an explanation for all the problems I&#039;ve had with cron and Perl.  But it confirms for me that two should never be used together.  There are just far too many headaches.  My Ubuntu system doesn&#039;t even produce the error you show at the top of the post, leaving the poor user completely in the dark regarding why the script isn&#039;t running.  Pure rubbish.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

