Topic: The schedule on stories of actions
Friends, there was such question, there is at me a table actions with fields:
id, action, time
id - AI
action - any number
time - timestamp mysql
The task is that:
To break all these records with an interval, for example, each hour. In this hour records should be added, that is if was two records with 5 and 10 that in line should be 15.