[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

TheSchwartz in Python?

js

2/6/2008 12:39:00 PM

Hi,

I'm looking for a job queue manager in Python, like TheSchwartz.[1].
I found there's TheSchawrtz server, RPC server powered by Gearman,
to which Python/Ruby can connect [2], but setting up two languages env
is a little cumbersome to me.

Is there any alternative to that in Python?
The requirement is
* Store job queue in disk, not memory
* Easy to set up
* 100% Python

Any pointers would be appliciated.
Thanks.

[1] http://search.cpan.org/~bradfitz/TheSchwartz-1.04/lib/TheS...
[2] http://brad.livejournal.com/23...
5 Answers

Larry Bates

2/6/2008 4:36:00 PM

0

js wrote:
> Hi,
>
> I'm looking for a job queue manager in Python, like TheSchwartz.[1].
> I found there's TheSchawrtz server, RPC server powered by Gearman,
> to which Python/Ruby can connect [2], but setting up two languages env
> is a little cumbersome to me.
>
> Is there any alternative to that in Python?
> The requirement is
> * Store job queue in disk, not memory
> * Easy to set up
> * 100% Python
>
> Any pointers would be appliciated.
> Thanks.
>
> [1] http://search.cpan.org/~bradfitz/TheSchwartz-1.04/lib/TheS...
> [2] http://brad.livejournal.com/23...

Are you sure CRON won't do the job for you. If not, then you may want to at
least take a look at Python's sched module (if you haven't already).

-Larry

Steve Holden

2/6/2008 4:50:00 PM

0

Larry Bates wrote:
> js wrote:
>> Hi,
>>
>> I'm looking for a job queue manager in Python, like TheSchwartz.[1].
>> I found there's TheSchawrtz server, RPC server powered by Gearman,
>> to which Python/Ruby can connect [2], but setting up two languages env
>> is a little cumbersome to me.
>>
>> Is there any alternative to that in Python?
>> The requirement is
>> * Store job queue in disk, not memory
>> * Easy to set up
>> * 100% Python
>>
>> Any pointers would be appliciated.
>> Thanks.
>>
>> [1] http://search.cpan.org/~bradfitz/TheSchwartz-1.04/lib/TheS...
>> [2] http://brad.livejournal.com/23...
>
> Are you sure CRON won't do the job for you. If not, then you may want to at
> least take a look at Python's sched module (if you haven't already).
>
I'd have though that "at" or "batch" would be more likely to be useful,
as the OP makes no mention of regularly -scheduled tasks.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.hold...

js

2/6/2008 10:01:00 PM

0

Cool, but sched saves job in memory...

cron can't be an option. It's just a scheduler not a job queue.

On Feb 7, 2008 1:36 AM, Larry Bates <larry.bates@websafe.com> wrote:
>
> js wrote:
> > Hi,
> >
> > I'm looking for a job queue manager in Python, like TheSchwartz.[1].
> > I found there's TheSchawrtz server, RPC server powered by Gearman,
> > to which Python/Ruby can connect [2], but setting up two languages env
> > is a little cumbersome to me.
> >
> > Is there any alternative to that in Python?
> > The requirement is
> > * Store job queue in disk, not memory
> > * Easy to set up
> > * 100% Python
> >
> > Any pointers would be appliciated.
> > Thanks.
> >
> > [1] http://search.cpan.org/~bradfitz/TheSchwartz-1.04/lib/TheS...
> > [2] http://brad.livejournal.com/23...
>
> Are you sure CRON won't do the job for you. If not, then you may want to at
> least take a look at Python's sched module (if you haven't already).
>
> -Larry
> --
> http://mail.python.org/mailman/listinfo/p...
>

Steve Holden

2/6/2008 10:37:00 PM

0

js wrote:
> Cool, but sched saves job in memory...
>
> cron can't be an option. It's just a scheduler not a job queue.
>
Note that "at" and "batch" *are* job queues.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.hold...

?????? ???????????

2/6/2008 10:47:00 PM

0

> Cool, but sched saves job in memory...
>
> cron can't be an option. It's just a scheduler not a job queue.

You could probably make lpd do what you want to do.

--
damjan