Perl script works but not via CRON

admin

Administrator
Staff member
I have a perl script (which syncs delicious to wp) which:

<ol>
<li>runs via the shell but </li>
<li>does not run via cron (and i dont get an error)</li>
</ol>

The only thing I can think of is that it read the config file wrongly but... it is defined via the full path (i think).

I read my config file as:

Code:
my $config = Config::Simple-&gt;import_from('/home/12345/data/scripts/delicious/wpds.ini',
   \my %config);

(I am hosted on mediatemple)

Does anybody have a clue?

<strong>update 1</strong>: HERE is the complete code: <a href="http://plugins.svn.wordpress.org/wo...delicious-daily-synchronization-script/trunk/" rel="nofollow">http://plugins.svn.wordpress.org/wo...delicious-daily-synchronization-script/trunk/</a> (but I have added the path as above to the configuration file location as difference)

<strong>update 2</strong>: crossposted on <a href="https://forums.mediatemple.net/viewtopic.php?pid=31563#p31563" rel="nofollow">https://forums.mediatemple.net/viewtopic.php?pid=31563#p31563</a>

<strong>update 3</strong>: the full path did the trick, solved