Hmmm, there was no dointerest.php in the file I got from SMF, so I Googled it up and created it.
I'm now getting this error in my cron job:
Fatal error: Call to undefined function db_query() in /home/adultfun/public_html/site/Sources/shop/dointerest.php on line 20
How do I fix it?\
Update: Here is the code from the file:
<?php/**********************************************\| SMFSHOP (Shop MOD for Simple Machines Forum) || (c) 2005 DanSoft Australia || http://www.dansoftaustralia.com/ |\**********************************************///File: dointerest.php// The file to add interest to member's bank//VERSION: 1.31 (Build 7)//DATE: 10th December 2005// $Id: dointerest.php 4 2006-07-08 10:09:08Z daniel15 $if(!isset($_SERVER["HTTP_HOST"])) { include("/home/adultfun/public_html/site/SSI.php"); $interest_rate = $modSettings['shopInterest'] / 100; db_query("UPDATE {$db_prefix}members SET moneyBank = moneyBank + (moneyBank*{$interest_rate})", __FILE__, __LINE__); echo "Interest added at ".date("d/m/Y h:i:s A");}?>