morbidangel2012 Posted November 16, 2010 Share Posted November 16, 2010 Hi I was wondering how I could set up a time mod to set time 3 times per hour. DROP TABLE IF EXISTS og_updateattacks; CREATE TABLE og_updateattacks ( lasttime int(20) default NULL, id int(11) NOT NULL auto_increment, PRIMARY KEY (id) ) TYPE=MyISAM; That is what I got, but I want it so users can attack at random times per hour. Quote Link to comment https://forums.phpfreaks.com/topic/218838-setting-up-a-time-mod/ Share on other sites More sharing options...
trq Posted November 16, 2010 Share Posted November 16, 2010 You will need to setup a cron job via your server's OS or a scheduled event through MySql. Nothing at all to do with PHP. Quote Link to comment https://forums.phpfreaks.com/topic/218838-setting-up-a-time-mod/#findComment-1134953 Share on other sites More sharing options...
ManiacDan Posted November 16, 2010 Share Posted November 16, 2010 Wait...what are you talking about? Explain better, right now you're getting advice on how to delete your table 3 times an hour. -Dan Quote Link to comment https://forums.phpfreaks.com/topic/218838-setting-up-a-time-mod/#findComment-1134991 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.