[Tutor] whats the best command to end a program

nephish nephish at xit.net
Tue Dec 6 18:22:02 CET 2005


Hey there,
	what would be the best command to end a program with.
	i have an app that i want to start every day at 6am from cron
	but i want it to shutdown at 4pm

	i was going to check by time on every loop

	if int(time.strftime(%H)) > 4:
		some end the program command
	else:
		continue

what would be best used here ?



More information about the Tutor mailing list