Hello
lets say you are making manager type game:
- clubs
- matches (2 times per week or something - FIX hour!)
- tournaments (tournament table changes when matches are played, A pts for win, 0 pts for loose, B pts for draw)
- weekly update (finances from sponsors, stamina update)
would you go with CRON or "update what user see" type?
lets say you go with "update what user see"...
on wednesday there is game
on sunday there is stamina update
user A logins on Wednesday after game is played - so you need to update MATCH, TOURNAMENT TABLE...and now problem - you need to simulate several matches where users DID NOT loggin after sunday and before wednesday to make sure their players stamina got updated
would you go with cron?
lets say you make some global table with time_last_updated - where you hold time from last sunday..so you check if time difference between now and last update is >=7 days and UPDATE all...or go with cron?