SMS dit: Time variability of AGN and heating of cooling flows