PDA

View Full Version : Was the lottery supposed to create a new Scheduled Task?


gooberface
08-28-2006, 01:17 PM
Once vbPlaza is installed, was that supposed to create a new scheduled task to perform for the lottery's?

I ask because I was testing a lottery, and it didn't end, and it's past the end date and it is still acting as if it is open. And I have no scheduled tasks that run anything for lottery's.

rfelice
08-28-2006, 07:22 PM
Its supposed to goob... mine didn't either... i'm going to put it in by hand

gooberface
08-28-2006, 08:01 PM
rfelice, thanks for the reply. If you can give me any tips on how to do it by hand, that'd be awesome. I looked at it and couldn't understand what was what, as far as the Cron thing and all that goes. The rest was self-explanatory.

Rickie3
08-29-2006, 09:50 AM
ok goto adminCP>>>scroll down to Scheduled Tasks click dropdown then select Add New Scheduled Task,when new window opens put as below
Title= vbBux Lottery Processing
Day of the Week (Note: this overrides the 'day of the month' option) = *
Day of the Month = *
Hour = *
Minute = 30
Log Entries = yes
Filename = ./includes/cron/vbp_lotteryprocess.php
then click save

gooberface
09-04-2006, 11:06 PM
Thanks for the reply, but what about the variable name, description, log phrase, and product selection? It won't allow me to create it until all of these are filled out.

I'm confused as to how this actually tells the lottery to do anything. We are just making up a file and setting a time. How does it actually point to the lottery?

Thanks for your help, guys.

Stunner
09-13-2006, 01:58 PM
Varname vbPlaza_Lottery
Description Figuring the lottery winners
Log Phrase I left that empty
Product vbBux/vbPlaza

This is how I got it on my site and hopefully that will help with this problem

PhenomLeader
09-14-2006, 12:27 AM
Do you set 2 of them for daily/weekly???

Stunner
09-14-2006, 09:35 PM
I just did 1 and it works now. :)

LILMORA4
09-23-2006, 04:22 AM
My dates are off, could someone explain how to set them properly?

Current Lottery Information
Lottery Name Jackpot Lottery Ends Approximately Lottery Tickets Purchased
Weekly Lottery 100,000.00 03-20-2006, 12:44 AM 0
Daily Lottery 10,000.00 03-06-2006, 10:49 PM 0


Previous Lottery Winners
Lottery Name Lottery Winner Date Won Jackpot Total Winnings Delete?
1) Weekly Lottery ?exyMora 09-22-2006, 10:15 PM 101,947.00 99,399.00
2) Weekly Lottery shakemup 09-22-2006, 09:47 PM 116,256.00 113,349.00
3) Daily Lottery imnoangel247 09-22-2006, 09:47 PM 15,355.00 14,971.00

Hoffi
09-26-2006, 07:14 AM
You run this CROn every Hour?
I think it must be enough to run this once a Day short after Midnight.

PhenomLeader
09-26-2006, 10:03 AM
I set it to run whenever my Lottery is supposed to run. I have two daily lotteries and one weekly.

LilMora, go to your Admin CP > vbplaza Lottery > Manage Lotteries> Pick your Lottery>Ending time > Adjust the date and time. It should do it on its own from there. Do this for each Lottery.

Gnemfran
11-06-2006, 03:07 AM
Thankyou, this was very helpful! and worked like a charm for me.

thepub
11-16-2006, 06:17 PM
what am I supposed to set it up to make one go every day and one every week? I've tried several different settings and it still isn't working.

dina
11-21-2006, 08:19 PM
Should I create a second scheduled task for the weekly lottery?

redtaz
02-17-2007, 03:52 PM
This worked for my daily lottery but now how would i do this for my weekly lottery?

Rickeo
02-23-2007, 01:17 AM
I dont get this am running a weekly and daily lottery yet u can only use 1 var name what am I doing.

Am I right in thinking I just create a one task and then set the dates via the lottery option on vbplazar and then manually run it each day myself and it will automatically setect which lottery it is.

Sorry that probably made no sense all am saying is u can only create 1 varname for the lottery task u can create duplicaqtes so what do we do if we run daily lotteries??

~Rick~

redtaz
02-24-2007, 12:21 AM
This worked for my daily lottery but now how would i do this for my weekly lottery?

Anybody know how?

Rickeo
02-27-2007, 02:32 AM
Yea I figured it out and it works like a charm for me now.

Basically follow all the steps above of creating a new scheduled task enter all the information the varname etc etc as staed above.

Then when it asks u the date and time to set for the scheduled task instead of entering a time make sure all fields are filled out with the * star ****** sign and the click submit then to set the date and time go to your VBPlaza lottery on your admincp and then set the date and time from there now ur scheduled task is set up it should run fine and you should have a perfect lottery.

Remember all dates and times on the scheduled task just fill them with the ***** symbol you only need 1 scheduled task and it will process ur weekly and daily lottery for you.

If you dont know what I mean message me or email me or reply here and I will get some screenshots up for you.

Hope that helps

~Rick~

redtaz
03-02-2007, 11:32 PM
Yea I figured it out and it works like a charm for me now.

Basically follow all the steps above of creating a new scheduled task enter all the information the varname etc etc as staed above.

Then when it asks u the date and time to set for the scheduled task instead of entering a time make sure all fields are filled out with the * star ****** sign and the click submit then to set the date and time go to your VBPlaza lottery on your admincp and then set the date and time from there now ur scheduled task is set up it should run fine and you should have a perfect lottery.

Remember all dates and times on the scheduled task just fill them with the ***** symbol you only need 1 scheduled task and it will process ur weekly and daily lottery for you.

If you dont know what I mean message me or email me or reply here and I will get some screenshots up for you.

Hope that helps

~Rick~
I tried this but still cant get it to work @_@

Rickeo
03-04-2007, 09:22 PM
Hmmmmmmmmmmm am not sure what the problem is add me to MSN or email me rick@adviceforall.co.uk and I will try and help u from there.

That should work otherwise there may be a problem with the installation.

Sorry it took me so long to reply :( been away for a few days sorry about that should be on everyday from here.

~Rick~