import time, morning
from datetime import datetime

def main():
	while True:
		a = time.mktime(datetime.now().timetuple())
		n = datetime.now()
		if n.hour == 6 and (n.minute-(n.minute%5)) == 15:
			return morning.main()
		time.sleep(300 - (time.mktime(datetime.now().timetuple())-a))
[((135, 149), 'datetime.datetime.now', 'datetime.now', ([], {}), '()\n', (147, 149), False, 'from datetime import datetime\n'), ((214, 228), 'morning.main', 'morning.main', ([], {}), '()\n', (226, 228), False, 'import time, morning\n'), ((100, 114), 'datetime.datetime.now', 'datetime.now', ([], {}), '()\n', (112, 114), False, 'from datetime import datetime\n'), ((262, 276), 'datetime.datetime.now', 'datetime.now', ([], {}), '()\n', (274, 276), False, 'from datetime import datetime\n')]