Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ProwlingTiger

Pages: [1] 2
1
Installation Problems / Re: Cron job probs
« on: June 02, 2007, 01:20:19 am »
Yeah I was considering removing that line, but now that I look, I've found the email notification option in my CP.

2
Installation Problems / Re: Cron job probs
« on: June 01, 2007, 12:29:01 am »
Okay, well I woke up this morning and got an email saying it auto added interest. Cant tell you how much it pisses me off, as I have no clue what was wrong with it. But at least it works now. Thanks everyone for the help!

3
Installation Problems / Re: Cron job probs
« on: May 31, 2007, 08:21:25 am »
I've been following your progress as I also use Dreamhost and, if you look at my earlier reply I gave you the way I got it to do what I needed.

 I too wasted far too much time trying to sort out other methods and eventually decided to use the easy way out and not be too bothered about it.
Hmm..but you got it to work right? Mind if I send you screenshots of what I've got so far?

4
Installation Problems / Re: Cron job probs
« on: May 31, 2007, 06:09:28 am »
Okay...I am really fed up with this. I'm pretty sure I've tried everything mentioned. If someone wants to be so kind and offer help, I can set up a FTP account, and whatever else to try and get this darn thing working.

5
Installation Problems / Re: Cron job probs
« on: May 31, 2007, 05:16:42 am »
Instead of just "php", try /usr/bin/php and /usr/local/bin/php:
Code: [Select]
/usr/bin/php /home/***/www/forums/sources/shop/dointerest.php
Hmm..I tried that. I'm going to try feeble's suggestion now. I cant believe I missed that page of the wiki

6
Installation Problems / [SOLVED] Cron job probs
« on: May 23, 2007, 07:38:13 am »
Okay, I set up a cron job with the dointerest.php file. I dont have cpanel, but it should work, shouldnt it?

My interest doesnt run, and I'm getting this error in my email daily:

Code: [Select]
sh: line 1: php: command not found

Cron Job:
Code: [Select]
php /home/***/www/forums/sources/shop/dointerest.php
dointerest.php:
Code: [Select]
<?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("../../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");
}
?>


I'd be more than willing to provide whatever files necessary to get this working.

-Dano

7
Installation Problems / Re: cron job without cpanel?
« on: May 13, 2007, 02:27:46 pm »
Okay, Im about ready to just give this interest thing up.

Heres my cron job:
Code: [Select]
/usr/bin/lynx -dump=20
http://www/forums/filename.php

And the file code:
Code: [Select]
<?php
/**********************************************\
| SMFSHOP (Shop MOD for Simple Machines Forum) |
|         (c) 2005 DanSoft Australia           |
|      http://www.dansoftaustralia.net/        |
\**********************************************/

//File: dointerest.php
//      The file to add interest to member's bank

//VERSION: 1.31 (Build 7)
//DATE: 10th December 2005

include("/home/.***/www/forums/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");
?>

8
Installation Problems / Re: cron job without cpanel?
« on: May 12, 2007, 01:37:03 pm »
Okay, I shall see if it works!

9
Installation Problems / Re: cron job without cpanel?
« on: May 11, 2007, 11:00:29 am »
Well I was then told to add something like /user/bin...but that didnt work either.

10
Installation Problems / Re: cron job without cpanel?
« on: May 10, 2007, 03:31:54 am »
I didnt get it to work. You?

11
Installation Problems / Re: cron job without cpanel?
« on: May 09, 2007, 11:55:47 am »
I contacted DreamHost. They told me something about not being able to run PHP scripts in that manner...or something.

Here's the script they gave me to try:
Code: [Select]
lynx -dump http://zephyrgaming.com/forums/Sources/shop/dointerest.php

12
Installation Problems / Re: cron job without cpanel?
« on: May 09, 2007, 06:23:26 am »
Yeah...I dont know why it doesnt work. I put in a support ticket to my host. Maybe I should just call em up...

13
Installation Problems / Re: cron job without cpanel?
« on: May 06, 2007, 12:49:10 am »
Ok thank you!

14
Installation Problems / Re: cron job without cpanel?
« on: May 05, 2007, 06:54:26 am »
Unfortunately, no....

15
Installation Problems / Re: cron job without cpanel?
« on: May 04, 2007, 07:20:18 am »
Eh I getcha!

Pages: [1] 2