python call a procedure at the specified time

Nitin Pawar nitinpawar432 at gmail.com
Wed Sep 15 08:15:15 CEST 2010


are you looking for something like cron?

On Wed, Sep 15, 2010 at 11:43 AM, Von <vontio at gmail.com> wrote:

> Hi,
> I have a python script running behind the scene,and I need it to call a
> method on sunday 9 o'clock.
> I get an idea,that I get the current time,and calculate the seconds to
> sunday 9 o'clock,
> then sleep these seconds and call my method,I think there could be an
> elegant way to resolve this.
>
> Regards,
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>


-- 
Nitin Pawar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100915/4a5aa0b4/attachment.html>


More information about the Python-list mailing list