Re: python call a procedure at the specified time

2010-09-15 Thread Von
I used timer way,and I found that threading.Timer didn't work with PyQt,so I used QTimer instead,and it did work. On Wed, Sep 15, 2010 at 3:44 PM, Nitin Pawar wrote: > cron is daemon running which maps the tasks with the frequency > > if you want to run a task at a specific time, you can schedule

Re: python call a procedure at the specified time

2010-09-15 Thread Nitin Pawar
cron is daemon running which maps the tasks with the frequency if you want to run a task at a specific time, you can schedule it for the same if you need any help, ping on gtalk, can help you out Thanks, Nitin On Wed, Sep 15, 2010 at 1:05 PM, Von wrote: > I have read the cron man page just no

Re: python call a procedure at the specified time

2010-09-15 Thread Von
I have read the cron man page just now,It says that cron wakes up every minute to check task. I will try install/uninstall with cron. Cheers, On Wed, Sep 15, 2010 at 3:25 PM, Von wrote: > Thanks Nitin,I wonder how cron works,does it create a timer thread for each > task? > > > On Wed, Sep 15, 2

Re: python call a procedure at the specified time

2010-09-15 Thread Von
Thanks Nitin,I wonder how cron works,does it create a timer thread for each task? On Wed, Sep 15, 2010 at 2:35 PM, Nitin Pawar wrote: > I think to do so either you will need to schedule a cron or write a daemon > process which will run continuously. > Assuming that its running only once a day or

Re: python call a procedure at the specified time

2010-09-14 Thread Nitin Pawar
I think to do so either you will need to schedule a cron or write a daemon process which will run continuously. Assuming that its running only once a day or say timely manner daemon will be a costly affair for system resources To schedule crons for python, this might be useful (using yaml) http:/

Re: python call a procedure at the specified time

2010-09-14 Thread Von
Hi Nitin,I need a python solution for that. On Wed, Sep 15, 2010 at 2:15 PM, Nitin Pawar wrote: > are you looking for something like cron? > > On Wed, Sep 15, 2010 at 11:43 AM, Von wrote: > >> Hi, >> I have a python script running behind the scene,and I need it to call a >> method on sunday 9 o'

Re: python call a procedure at the specified time

2010-09-14 Thread Nitin Pawar
are you looking for something like cron? On Wed, Sep 15, 2010 at 11:43 AM, Von 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