added algorithm for posting every 24 hours