![]() |
|
#1
|
|||
|
|||
|
FAQ
Q) How do I set up the cron for the drawings? A) Log into your cPanel and go to the cron page. Here is what you would put for the cron Code:
Command to run: /usr/bin/php -q /home/user/public_html/forums/Sources/shop/LotteryDraw.php > /dev/null Q) How do I raise/lower the number of days in between the drawings? A) Open the file LotteryDraw.php (location above). Find this block of code (should be near the top) Code:
// 518400 is the amount of seconds in 6 days. Change this to change the time between the draws.
if ($currentTime- $last_draw < 518400)
fatal_error("Lottery draws are to close together.",true);
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|