View Single Post
  #4 (permalink)  
Old 04-24-2008, 08:58 PM
kidtroopa kidtroopa is offline
New Pligger
 
Join Date: Feb 2008
Posts: 3
Yes I was able to get it to work. The key is the version of php or whatever programming language you are using. That will determine the first part of your string. Here is my cron job for the RSSC module of XOOPS that I have setup with my GoDaddy account:

/web/cgi-bin/php -q -f /var/chroot/home/content/Y/O/U/HostedAccount/html/<site root path>/rssc/bin/refresh.php password

Replace the "Y/O/U/HostedAccount/html/<site root path>/" with your specific hosted account information. Then replace the "password" at the end with the password you have setup within RSSC for cron.

***VISIT http://help.godaddy.com/article/58 for GoDaddy's explanation of what your absolute path is****

The first part "/web/cgi-bin/php" is for PHP 4. Here are the other possible Godady executable paths:

Shell: /bin/sh
Perl : /usr/bin/perl
PHP4: /web/cgi-bin/php
PHP5: /web/cgi-bin/php5

Here's another example Cron Job:

/web/cgi-bin/php /home/content/youraccount/html/run_cron.php

Also See The Following Post: http://forums.pligg.com/general-help...html#post54631
It contains an example of an RSS cron for Pligg

Hope that helps.

Last edited by kidtroopa; 04-25-2008 at 03:20 AM. Reason: Update
Reply With Quote