01-10-2015, 09:57 PM
hello people lckb: D
I want to know how to put a cash every 5 to 10 minutes automatically
|
Cash minutes
|
|
01-10-2015, 09:57 PM
hello people lckb: D I want to know how to put a cash every 5 to 10 minutes automatically
01-10-2015, 10:30 PM
you can use a bash file schedulded every 5/10 minutes with crontab
01-10-2015, 11:23 PM
SQL Event ( i recommend this one)
Cron Tab bash file(useless much code & crontab needed)
01-10-2015, 11:40 PM
SQL Event ( i recommend this one) Cron Tab bash file(useless much code & crontab needed) how can I do to create this cash event every five minutes remaining in
01-11-2015, 03:36 AM
how can I do to create this cash event every five minutes remaining in Wizatek have post it here 2 CREATE EVENT `OnlineCashAdd` ON SCHEDULE EVERY 5 MINUTE STARTS '2014-08-06 00:34:11' ON COMPLETION PRESERVE ENABLE COMMENT '' DO UPDATE newproject_auth.bg_user SET cash = cash + 50 WHERE user_code IN (SELECT a_portal_index FROM newproject_auth.t_users WHERE a_zone_num != -1)
01-11-2015, 01:44 PM
Wizatek have post it here 2 CREATE EVENT `OnlineCashAdd` ON SCHEDULE EVERY 5 MINUTE STARTS '2014-08-06 00:34:11' ON COMPLETION PRESERVE ENABLE COMMENT '' DO UPDATE newproject_auth.bg_user SET cash = cash + 50 WHERE user_code IN (SELECT a_portal_index FROM newproject_auth.t_users WHERE a_zone_num != -1) I it's more how do you add
01-11-2015, 03:46 PM
You just open a mysql client, and execute it once as a normal query.
01-11-2015, 04:25 PM
thank you all It Works Closed topic thank you alot!
01-13-2015, 05:37 AM
You just open a mysql client, and execute it once as a normal query. CREATE EVENT `OnlineCashAdd` ON SCHEDULE EVERY 5 MINUTE STARTS '2014-08-06 00:34:11' ON COMPLETION PRESERVE ENABLE COMMENT '' DO UPDATE newproject_auth.bg_user SET cash = cash + 50 WHERE user_code IN (SELECT a_portal_index FROM newproject_auth.t_users WHERE a_zone_num != -1)
01-13-2015, 06:44 AM
@zanatie59 i myself tried doing this exactly as you said to do and seems to not work for me can u explain of wat might be the problem?
|
|
« Next Oldest | Next Newest »
|