Author Topic: How to give Interest?  (Read 4588 times)

Offline Levita

How to give Interest?
« on: June 23, 2006, 03:52:18 am »
Plz

Offline Veej

Re: How to give Interest?
« Reply #1 on: June 23, 2006, 04:15:22 am »

Offline Levita

Re: How to give Interest?
« Reply #2 on: June 23, 2006, 04:38:57 am »
Yes, but how to call the script?!

Offline Levita

Re: How to give Interest?
« Reply #3 on: June 23, 2006, 04:40:17 am »
eh .. how to call the script myself?

Offline Veej

Re: How to give Interest?
« Reply #4 on: June 23, 2006, 05:21:09 am »
Once you've made the script and saved it as whatever.php....
you either point your browser to the URL of the script and it will execute

OR

you set up a cron job so the script will execute whenever you want it to:
http://www.daniel15.com/forum/index.php?topic=141.0


Offline Levita

Re: How to give Interest?
« Reply #5 on: June 23, 2006, 07:23:05 pm »
i get an error :(

Offline Levita

Re: How to give Interest?
« Reply #6 on: June 23, 2006, 07:28:25 pm »
ah there was an error in the script.
it works now
thx

Offline Daniel15

Re: How to give Interest?
« Reply #7 on: June 23, 2006, 10:06:15 pm »
Note that the script at http://www.daniel15.com/forum/index.php?topic=31.0 is for use if you want to call the script yourself. If you want to use a cron job, the command to use is:
Code: [Select]
/usr/bin/php -q /home/[username]/public_html/[forum]/Sources/shop/dointerest.php > /home/[username]/public_html/[forum]/interest_log.htm

[username] is your cPanel username, and [forum] is the directory your forum is installed to.
 :D

Offline Levita

Re: How to give Interest?
« Reply #8 on: June 24, 2006, 12:05:21 am »
i think iam to stupid to use a cron job.