In <mailman.17012.1418845926.18130.python-l...@python.org> Juan Christian <juan0christ...@gmail.com> writes:
> The standard system "kill" command would probably work for this purpose, > assuming you have access to your main program's process ID. > There isn't any 'prettier' way? Such as a built-in or third-party module > for something common like that? If you're on Unix, 'kill' and 'cron' are already built-in. If you want to solve your problem entirely within Python, look at the "scheduler" module. (Although even this isn't a complete solution, as you still have to make sure the program is running in the first place...) -- John Gordon Imagine what it must be like for a real medical doctor to gor...@panix.com watch 'House', or a real serial killer to watch 'Dexter'. -- https://mail.python.org/mailman/listinfo/python-list