XF 1.5 How Would I Set Up A Cron Job ...

How would I set up a cron job to (a) shred the logs and (b) activate/deactivate notices? I want to "rotate" three notices so that a different one appears each day (they are similar).

If you look at www.alemontree.eu , the part that changes is in the green-bordered yellow box.