a...@pythoncraft.com (Aahz) writes:
> In article ,
> =?utf-8?Q?Alice_Bevan=E2=80=93McGregor?= wrote:
> >A package of mine, TurboMail, suffers from the same threading issue
> >if used improperly; you enqueue e-mail, it starts a thread, then you
> >immediately exit.
>
> Why not write an exit handl
In article ,
=?utf-8?Q?Alice_Bevan=E2=80=93McGregor?= wrote:
>
>A package of mine, TurboMail, suffers from the same threading issue if
>used improperly; you enqueue e-mail, it starts a thread, then you
>immediately exit. TM tries to work around the issue, but in most cases
>that workaround do
In cases like that instead of sleep() can use pause(). E.g.,
from apscheduler.scheduler import Scheduler
import signal
sched = Scheduler()
sched.start()
def some_job():
print "Decorated job"
sched.add_interval_job(some_job,minutes=1)
signal.pause()
Mosalam
--
http://mail.python.org/mailman/
On 2011-01-10 17:23:34 -0800, linna li said:
I see the latest version is APScheduler 1.3.1. Where can I get APScheduler 2.0?
https://bitbucket.org/agronholm/apscheduler/
I don't think 2.0 has been released yet, but that is the version number
in apscheduler/__init__.py on HG tip. The example
On Jan 7, 11:03 pm, Alice Bevan–McGregor wrote:
> Howdy!
>
> On 2011-01-07 17:08:28 -0800, linna li said:
>
> > I tried to use the apscheduler and used the sample code below from the
> > tutorial, but got the error message: Exception in thread APScheduler
> > (most likely raised during interpreter
Thank you for all the replies here! I will try your suggestions.
On Jan 7, 11:03 pm, Alice Bevan–McGregor wrote:
> Howdy!
>
> On 2011-01-07 17:08:28 -0800, linna li said:
>
> > I tried to use the apscheduler and used the sample code below from the
> > tutorial, but got the error message: Exceptio
Howdy!
On 2011-01-07 17:08:28 -0800, linna li said:
I tried to use the apscheduler and used the sample code below from the
tutorial, but got the error message: Exception in thread APScheduler
(most likely raised during interpreter shutdown). What's going on here?
I really appreciate any help!
On Fri, 2011-01-07 at 17:08 -0800, linna li wrote:
> I tried to use the apscheduler and used the sample code below from the
> tutorial, but got the error message: Exception in thread APScheduler
> (most likely raised during interpreter shutdown). What's going on
> here? I really appreciate any hel
On Fri, Jan 7, 2011 at 6:09 PM, Steven D'Aprano
wrote:
> On Fri, 07 Jan 2011 17:08:28 -0800, linna li wrote:
>> I tried to use the apscheduler and used the sample code below from the
>> tutorial, but got the error message: Exception in thread APScheduler
>> (most likely raised during interpreter s
On Fri, 07 Jan 2011 17:08:28 -0800, linna li wrote:
> I tried to use the apscheduler and used the sample code below from the
> tutorial, but got the error message: Exception in thread APScheduler
> (most likely raised during interpreter shutdown). What's going on here?
> I really appreciate any he
I tried to use the apscheduler and used the sample code below from the
tutorial, but got the error message: Exception in thread APScheduler
(most likely raised during interpreter shutdown). What's going on
here? I really appreciate any help!
from apscheduler.scheduler import Scheduler
sched = Sch
11 matches
Mail list logo