On Sat, Jul 9, 2011 at 6:58 PM, Cameron Simpson <c...@zip.com.au> wrote:

> On 10Jul2011 03:00, Alexander Kapps <alex.ka...@web.de> wrote:
> | On 10.07.2011 02:26, John Salerno wrote:
> | >I have a script that does some stuff that I want to run every day for
> | >maybe a week, or a month. So far I've been good about running it every
> | >night, but is there some way (using Python, of course) that I can make
> | >it automatically run at a set time each night?
> |
> | Use your operating system's facilities to run timed jobs.
> |
> | Unix/Linux: Cron jobs
> | Windows: Scheduled Tasks
> | Mac: don't know, but probably Cron too
>
> Yep. Macs are UNIX, BSD derived.
>

Macs have Cron, but Apple's trying to switch away from it. They wrote their
own framework to replace the various process-launching programs called
launchd. It uses a pretty simple XML config file to launch programs either
at startup (replacing init) or on an schedule (replacing cron).
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to