Weekday, hour and minute check
#6

Quote:
Originally Posted by Vince
Посмотреть сообщение
You're completely missing the point here. No, you don't need to run it from the gamemode because a) the query itself does not contain anything special and doesn't even have to be formatted and b) because having a timer that's just eating up CPU 99.9999% of the time is totally inefficient.
Would this work ?
Код:
CREATE
    EVENT `reset_column`
    ON SCHEDULE EVERY 1 WEEK STARTS '2016-02-15 00:00:00'
    DO BEGIN
   UPDATE playeraccounts SET pRunners = 0, pArrests = 0, pTickets = 0, pDConf = 0, pLConf = 0, pLGive = 0, pTOrders = 0, pHealed = 0, pContracts = 0, pNews = 0, pLive = 0, pDDep = 0, pMaDep = 0, pMoDep = 0, pWK = 0, pWD = 0, pMUsed = 0
    END */$$
DELIMITER ;
Reply


Messages In This Thread
Weekday, hour and minute check - by Maheegan - 12.02.2016, 21:45
Re: Weekday, hour and minute check - by Maheegan - 13.02.2016, 17:18
Re: Weekday, hour and minute check - by Vince - 13.02.2016, 17:31
Re: Weekday, hour and minute check - by Maheegan - 13.02.2016, 18:21
Re: Weekday, hour and minute check - by Vince - 13.02.2016, 19:02
Re: Weekday, hour and minute check - by Maheegan - 13.02.2016, 19:18

Forum Jump:


Users browsing this thread: 1 Guest(s)