[Zope] ZScheduler and Pack

2000-08-22 Thread Marcus Mendes

Hi,

Is it a security risk to leave the Zscheduler pack my Data.fs?

Thanks.

Marcus Mendes


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZScheduler-0.0.6 problem

2000-06-21 Thread Francois-Regis CHALAOUX

Hi,

I have just tested ZScheduler-0.0.6 on NT machine : it works : On my Linux
machine it does not work :
Thus, the code is NT dependant or the archive works on NT only !!!???

FR

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] All ZSchedule archives on zope.org broken ! (Was: Re: [Zope] ZScheduler-0.0.5 problem)

2000-06-19 Thread Loren Stafford

Here's a copy of my earlier reply. Aside from the warning message, is there
any evidence that it does not unpack correctly? I see the same symptom, but
have not seen any problem with the unpacked files.

-- Loren

==

Gruess,

You can ignore the message about corruption. As far as I know it always
unpacks correctly in spite of the message. Seems to be a harmless artifact
of the MKS tools I use on Win98 to create the archive. If you find it's more
serious, let me know.

-- Loren


- Original Message -
From: "Holger Lehmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: June 16, 2000 03:01 AM
Subject: ZScheduler Archive broken ?



- Original Message -
From: "Holger Lehmann" <[EMAIL PROTECTED]>
To: "Francois-Regis CHALAOUX"
<[EMAIL PROTECTED]>
Cc: "zope list" <[EMAIL PROTECTED]>
Sent: June 19, 2000 07:50 AM
Subject: [Zope] All ZSchedule archives on zope.org broken ! (Was: Re: [Zope]
ZScheduler-0.0.5 problem)


> Hi Francois,
>
> I attempted the same and had the same fate. *All* archives you try to
donwload
> from http://www.zope.org/Members/lstaffor/ZScheduler are truncated (!) to
20480
> Bytes (huh ?). I mailed lstaffor, without any reply or results so far.
Please
> notify him as well, so he can update his Archive
>
> - Holger
>
> Am Mon, 19 Jun 2000 schrieben Sie:
> > Hi,
> >
> > 1/ I'm Trying to use ZScheduler-0.0.5 on Linux 6.1, I386, Zope-2.1.7.
> > Just after to install the product I cannot start Zope !!!
> >
> > 2/ There is also an archive problem when I extract the file from
> > ZScheduler-0.0.5.tgz :
> >
> > srchocolat 138% tar xvzf ZScheduler-0-0-5.tgz
> > lib/python/Products/ZScheduler/
> > lib/python/Products/ZScheduler/__init__.py
> > lib/python/Products/ZScheduler/addOneTimeZEvent.dtml
> > lib/python/Products/ZScheduler/README.txt
> > lib/python/Products/ZScheduler/CHANGES.txt
> > lib/python/Products/ZScheduler/ZSchedule.py
> > lib/python/Products/ZScheduler/version.txt
> > lib/python/Products/ZScheduler/ZEvent.py
> > lib/python/Products/ZScheduler/Loggerr.py
> > lib/python/Products/ZScheduler/Dispatcher.py
> > lib/python/Products/ZScheduler/documentEdit.dtml
> > lib/python/Products/ZScheduler/scheduleView.dtml
> > lib/python/Products/ZScheduler/www/
> > lib/python/Products/ZScheduler/www/OneTimeZEvent.gif
> > lib/python/Products/ZScheduler/www/RecurringZEvent.gif
> > lib/python/Products/ZScheduler/www/ZSchedule.gif
> >
> > gzip: stdin: decompression OK, trailing garbage ignored
> > tar: Le processus enfant a retourné le statut 2
> > tar: Statut d'erreur reporté d'erreurs précédentes.
> > srchocolat 139%
> >



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] All ZSchedule archives on zope.org broken ! (Was: Re: [Zope] ZScheduler-0.0.5 problem)

2000-06-19 Thread Chris Withers

Holger Lehmann wrote:
> I attempted the same and had the same fate. *All* archives you try to donwload
> from http://www.zope.org/Members/lstaffor/ZScheduler are truncated (!) to 20480

There is a Wiki for ZScheduler which has a FAQ that covers this.
Apparently Loren's tar program puts a load of junk at the end. I think
the message is just a warning and the unarchiving has worked fine...

If anyone knows different, please say ;-)

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] All ZSchedule archives on zope.org broken ! (Was: Re: [Zope] ZScheduler-0.0.5 problem)

2000-06-19 Thread Holger Lehmann

Hi Francois,

I attempted the same and had the same fate. *All* archives you try to donwload
from http://www.zope.org/Members/lstaffor/ZScheduler are truncated (!) to 20480
Bytes (huh ?). I mailed lstaffor, without any reply or results so far. Please
notify him as well, so he can update his Archive

- Holger

Am Mon, 19 Jun 2000 schrieben Sie:
> Hi,
> 
> 1/ I'm Trying to use ZScheduler-0.0.5 on Linux 6.1, I386, Zope-2.1.7.
> Just after to install the product I cannot start Zope !!!
> 
> 2/ There is also an archive problem when I extract the file from
> ZScheduler-0.0.5.tgz :
> 
> srchocolat 138% tar xvzf ZScheduler-0-0-5.tgz
> lib/python/Products/ZScheduler/
> lib/python/Products/ZScheduler/__init__.py
> lib/python/Products/ZScheduler/addOneTimeZEvent.dtml
> lib/python/Products/ZScheduler/README.txt
> lib/python/Products/ZScheduler/CHANGES.txt
> lib/python/Products/ZScheduler/ZSchedule.py
> lib/python/Products/ZScheduler/version.txt
> lib/python/Products/ZScheduler/ZEvent.py
> lib/python/Products/ZScheduler/Loggerr.py
> lib/python/Products/ZScheduler/Dispatcher.py
> lib/python/Products/ZScheduler/documentEdit.dtml
> lib/python/Products/ZScheduler/scheduleView.dtml
> lib/python/Products/ZScheduler/www/
> lib/python/Products/ZScheduler/www/OneTimeZEvent.gif
> lib/python/Products/ZScheduler/www/RecurringZEvent.gif
> lib/python/Products/ZScheduler/www/ZSchedule.gif
> 
> gzip: stdin: decompression OK, trailing garbage ignored
> tar: Le processus enfant a retourné le statut 2
> tar: Statut d'erreur reporté d'erreurs précédentes.
> srchocolat 139% 
> 
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
-- 
---
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZScheduler-0.0.5 problem

2000-06-19 Thread Francois-Regis CHALAOUX

Hi,

1/ I'm Trying to use ZScheduler-0.0.5 on Linux 6.1, I386, Zope-2.1.7.
Just after to install the product I cannot start Zope !!!

2/ There is also an archive problem when I extract the file from
ZScheduler-0.0.5.tgz :

srchocolat 138% tar xvzf ZScheduler-0-0-5.tgz
lib/python/Products/ZScheduler/
lib/python/Products/ZScheduler/__init__.py
lib/python/Products/ZScheduler/addOneTimeZEvent.dtml
lib/python/Products/ZScheduler/README.txt
lib/python/Products/ZScheduler/CHANGES.txt
lib/python/Products/ZScheduler/ZSchedule.py
lib/python/Products/ZScheduler/version.txt
lib/python/Products/ZScheduler/ZEvent.py
lib/python/Products/ZScheduler/Loggerr.py
lib/python/Products/ZScheduler/Dispatcher.py
lib/python/Products/ZScheduler/documentEdit.dtml
lib/python/Products/ZScheduler/scheduleView.dtml
lib/python/Products/ZScheduler/www/
lib/python/Products/ZScheduler/www/OneTimeZEvent.gif
lib/python/Products/ZScheduler/www/RecurringZEvent.gif
lib/python/Products/ZScheduler/www/ZSchedule.gif

gzip: stdin: decompression OK, trailing garbage ignored
tar: Le processus enfant a retourné le statut 2
tar: Statut d'erreur reporté d'erreurs précédentes.
srchocolat 139% 

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-26 Thread Loren Stafford

You're right. I should have said port 80 instead of default port. I was
thinking of the system "default" for HTTP which is 80. In any case you need
the patch.

-- Loren


- Original Message -
From: "Graham Chiu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: May 26, 2000 12:10 PM
Subject: Re: [Zope] ZScheduler


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> In article <001301bfc731$2af9c480$2101a8c0@pavilion>, Loren Stafford
> <[EMAIL PROTECTED]> writes
> >Yes. The Client.py patch must be applied for any use of ZScheduler, if
the
> >server is not listening on the default port.
>
> The default port in Zope is 8080, whereas I recall seeing the bug
> applies if not on 80.
>
> >
> >"reschedule" is always called when an event is triggered, so that there
is
> >an opportunity to reschedule or disarm the event. If "reschedule" fails
(as
> >it will if the server is not on the default port and the patch is not
> >applied), the whole transaction fails.
>
> Except that I scheduled a non-smtp event which worked fine without the
> patch.
>
> >
> >By the way, what version of Zope are you using? I reported the bug in
> >version 2.1.4. I wonder (because I haven't checked yet) if it was fixed
in
> >later versions.
>
> Well, it's clear I need to install this patch and try again.  I'm using
> 2.1.4.
>
> - --
> Regards,  Graham Chiu
> gchiucompkarori.co.nz
> http://www.compkarori.co.nz/index.php
> Powered by Interbase and Zope
>
> -BEGIN PGP SIGNATURE-
> Version: PGPsdk version 1.7.1
>
> iQA/AwUBOS4xebTRdIWzaLpMEQIPWwCg5uZpGCphTW2SAnYt0nHBQ6m5IgsAn2xW
> 4n4onec3rtzBnz9ZB3SRmuzc
> =5YOQ
> -END PGP SIGNATURE-
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-26 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <001301bfc731$2af9c480$2101a8c0@pavilion>, Loren Stafford
<[EMAIL PROTECTED]> writes
>Yes. The Client.py patch must be applied for any use of ZScheduler, if the
>server is not listening on the default port.

The default port in Zope is 8080, whereas I recall seeing the bug
applies if not on 80.

>
>"reschedule" is always called when an event is triggered, so that there is
>an opportunity to reschedule or disarm the event. If "reschedule" fails (as
>it will if the server is not on the default port and the patch is not
>applied), the whole transaction fails.

Except that I scheduled a non-smtp event which worked fine without the
patch.

>
>By the way, what version of Zope are you using? I reported the bug in
>version 2.1.4. I wonder (because I haven't checked yet) if it was fixed in
>later versions.

Well, it's clear I need to install this patch and try again.  I'm using
2.1.4.

- -- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOS4xebTRdIWzaLpMEQIPWwCg5uZpGCphTW2SAnYt0nHBQ6m5IgsAn2xW
4n4onec3rtzBnz9ZB3SRmuzc
=5YOQ
-END PGP SIGNATURE-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-26 Thread Loren Stafford

Yes. The Client.py patch must be applied for any use of ZScheduler, if the
server is not listening on the default port.

"reschedule" is always called when an event is triggered, so that there is
an opportunity to reschedule or disarm the event. If "reschedule" fails (as
it will if the server is not on the default port and the patch is not
applied), the whole transaction fails.

By the way, what version of Zope are you using? I reported the bug in
version 2.1.4. I wonder (because I haven't checked yet) if it was fixed in
later versions.

-- Loren

- Original Message -
From: "Graham Chiu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: May 25, 2000 11:11 PM
Subject: Re: [Zope] ZScheduler


> In article <019501bfc6c2$91e19b60$2101a8c0@pavilion>, Loren Stafford
> <[EMAIL PROTECTED]> writes
> >Graham,
> >
> >Thanks for sending all the info. I haven't had a chance to check it all
out.
> >But I want to ask one more thing: did you install the patch to client.py
as
> >mentioned in CHANGES.txt and
> >http://www.zope.org/Members/lstaffor/ZScheduler/ZSchedulerWiki/BugReports
> >
>
>
> Loren,
>
> Since this bug referenced a reschedule operation, I didn't bother to
> apply the patch - should I?
>
> --
> Regards,  Graham Chiu
> gchiucompkarori.co.nz
> http://www.compkarori.co.nz/index.php
> Powered by Interbase and Zope



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-26 Thread Graham Chiu

In article <019501bfc6c2$91e19b60$2101a8c0@pavilion>, Loren Stafford
<[EMAIL PROTECTED]> writes
>Graham,
>
>Thanks for sending all the info. I haven't had a chance to check it all out.
>But I want to ask one more thing: did you install the patch to client.py as
>mentioned in CHANGES.txt and
>http://www.zope.org/Members/lstaffor/ZScheduler/ZSchedulerWiki/BugReports
>


Loren,

Since this bug referenced a reschedule operation, I didn't bother to
apply the patch - should I?

-- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-25 Thread Loren Stafford

Graham,

Thanks for sending all the info. I haven't had a chance to check it all out.
But I want to ask one more thing: did you install the patch to client.py as
mentioned in CHANGES.txt and
http://www.zope.org/Members/lstaffor/ZScheduler/ZSchedulerWiki/BugReports

?

-- Loren

- Original Message -
From: "Graham Chiu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: May 21, 2000 02:56 PM
Subject: Re: [Zope] ZScheduler


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> In article <001901bfc360$6e3f9280$2101a8c0@pavilion>, Loren Stafford
> <[EMAIL PROTECTED]> writes
> >What happens when you execute the event's "trigger" method from the
> >browser's location line?
>
> Perhaps this will help.
>
> Here's my Zevent
>
> 
>
>
> And here's zMailTest which works fine when called from the browser:
>
> 
> To: GC <[EMAIL PROTECTED]>
> From: TV time <[EMAIL PROTECTED]>
> Subject: This is cron test
>
> Charmed is on tonight at 7 pm.
>
> 
>
> And here is the log report.  Isn't 503 an SMTP error of some sort?
>
>
> 2000-05-21T22:48:10 PROBLEM(100) Products.ZScheduler.Loggerr
> Trigger event: http://a7800nt:8080/zTV
> Trigger time: 2000/05/22  10:48:00 GMT+12
> Failed to trigger event.
> Type=exceptions.KeyError
> Val=  EQUIV="Expires" CONTENT="0"> zTV BGCOLOR="#FF">   cellpadding="0" bgcolor="#00"> d:\zope2\lib\python\DocumentTemplate\DT_String.py Line: 502)
> 503 Service Unavailable for http://a7800nt:8080/zTV/trigger
> - --
> 2000-05-21T22:48:10 PROBLEM(100) Products.ZScheduler.Loggerr Failed to
> disarm event
>
>
> - --
> Regards,  Graham Chiu
> gchiucompkarori.co.nz
> http://www.compkarori.co.nz/index.php
> Powered by Interbase and Zope
>
> -BEGIN PGP SIGNATURE-
> Version: PGPsdk version 1.7.1
>
> iQA/AwUBOSfA6LTRdIWzaLpMEQJCGACg39opsy130qgjwfFNS5kFUAHGAyMAoPTO
> Fe2zVB6LB3QOX773fJ2NbbsO
> =Kq9S
> -END PGP SIGNATURE-
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-21 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <001901bfc360$6e3f9280$2101a8c0@pavilion>, Loren Stafford
<[EMAIL PROTECTED]> writes
>What happens when you execute the event's "trigger" method from the
>browser's location line?

Perhaps this will help.

Here's my Zevent




And here's zMailTest which works fine when called from the browser:


To: GC <[EMAIL PROTECTED]>
From: TV time <[EMAIL PROTECTED]>
Subject: This is cron test

Charmed is on tonight at 7 pm.



And here is the log report.  Isn't 503 an SMTP error of some sort?


2000-05-21T22:48:10 PROBLEM(100) Products.ZScheduler.Loggerr 
Trigger event: http://a7800nt:8080/zTV
Trigger time: 2000/05/22  10:48:00 GMT+12
Failed to trigger event.
Type=exceptions.KeyError
Val=  zTV  http://a7800nt:8080/zTV/trigger
- --
2000-05-21T22:48:10 PROBLEM(100) Products.ZScheduler.Loggerr Failed to
disarm event


- -- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSfA6LTRdIWzaLpMEQJCGACg39opsy130qgjwfFNS5kFUAHGAyMAoPTO
Fe2zVB6LB3QOX773fJ2NbbsO
=Kq9S
-END PGP SIGNATURE-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-21 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <001901bfc360$6e3f9280$2101a8c0@pavilion>, Loren Stafford
<[EMAIL PROTECTED]> writes
>What happens when you execute the event's "trigger" method from the
>browser's location line?

Works fine.


- -- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSe0JbTRdIWzaLpMEQKKbACdGc5oaSRM/ylOkfKu+T1K2omraewAoK8F
eEoeBaR7+nqt1/N69Fo4SYqD
=lKwU
-END PGP SIGNATURE-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-21 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <001301bfc35f$959f0780$2101a8c0@pavilion>, Loren Stafford
<[EMAIL PROTECTED]> writes
>Any ideas how to automatically determine whether "now and for the next N
>minutes is a  time period of little activity" from historical or real-time
>data?
>
>-- Loren
>

Read the Zserver logs?

- -- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSeddLTRdIWzaLpMEQIxAQCdGG10NP24JJyRhy+09G77XwEenJwAoJ/H
IfcllPWWjgD19CWeGiaNpf9k
=HV7X
-END PGP SIGNATURE-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-21 Thread Loren Stafford

What happens when you execute the event's "trigger" method from the
browser's location line?

e.g.
http://my.site.dom/my_scheduled_method/trigger

-- Loren

>
> In article <000101bfc01a$1ec3e2e0$[EMAIL PROTECTED]>, Loren
> Stafford <[EMAIL PROTECTED]> writes
> >You can try out ZScheduler on Windows (I tested on Win98). It actually
runs
> >the scheduled tasks. However, because the inter-thread communication
isn't
> >working, it degrades to polling the schedule table.
>
> I tried this out on my notebook running NTWK4.0 and got this from the
> log
>
> Failed to trigger event.
> Type=exceptions.AttributeError
> Val=this (File: D:\zope2\lib\python\Products\MailHost\SendMailTag.py
> Line: 188)
> 500 Internal Server Error for http://a7800nt:8080/myfolder/cron/trigger
> - --
> 2000-05-20T05:40:24 PROBLEM(100) Products.ZScheduler.Loggerr Failed to
> disarm event
>
> The DTML code just sends an email, and works fine when tested outside
> the ZEvent.
>
> - --
> Regards,  Graham Chiu
> gchiucompkarori.co.nz
> http://www.compkarori.co.nz/index.php
> Powered by Interbase and Zope



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-21 Thread Loren Stafford

Any ideas how to automatically determine whether "now and for the next N
minutes is a  time period of little activity" from historical or real-time
data?

-- Loren


- Original Message -
From: Graham Chiu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: May 19, 2000 07:06 PM
Subject: Re: [Zope] ZScheduler


> In article <[EMAIL PROTECTED]>, Jason Spisak
> <[EMAIL PROTECTED]> writes
> >
> >I would add the "last day of the month" as well.
> >
> >All my best,
>
> Or, how about, only if there is no activity on the web server between
> certain hours, then start doing something...
>



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-19 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <000101bfc01a$1ec3e2e0$[EMAIL PROTECTED]>, Loren
Stafford <[EMAIL PROTECTED]> writes
>You can try out ZScheduler on Windows (I tested on Win98). It actually runs
>the scheduled tasks. However, because the inter-thread communication isn't
>working, it degrades to polling the schedule table.

I tried this out on my notebook running NTWK4.0 and got this from the
log

Failed to trigger event.
Type=exceptions.AttributeError
Val=this (File: D:\zope2\lib\python\Products\MailHost\SendMailTag.py
Line: 188)
500 Internal Server Error for http://a7800nt:8080/myfolder/cron/trigger
- --
2000-05-20T05:40:24 PROBLEM(100) Products.ZScheduler.Loggerr Failed to
disarm event

The DTML code just sends an email, and works fine when tested outside
the ZEvent.

- -- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSWAcbTRdIWzaLpMEQLcVwCfSFs3pOY8mL9Q0lXp+uAzY9oXLZwAn1d6
hRJQjCo9t/yt4wdMXWqDiep0
=mBSf
-END PGP SIGNATURE-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-19 Thread Graham Chiu

In article <[EMAIL PROTECTED]>, Jason Spisak
<[EMAIL PROTECTED]> writes
>
>I would add the "last day of the month" as well.
>
>All my best,

Or, how about, only if there is no activity on the web server between
certain hours, then start doing something...

-- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-18 Thread Jason Spisak

> Chris Withers wrote:
> > 
> > Karl Lewin wrote:
> > > What sort of scheduling options would be "nice to have" in a scheduling
> > > product?
> > 
> > 1. The ability to have a method called at a certain DateTime
> > eg: next Tuesday, at 5pm GMT
> > 
> > 2. The ability to have a method executed every x, where x is a period of
> > time.
> > eg: every 2 hours
> > 
> > 3. The ability to have a method executed every x, starting and y and
> > finished at z, where x is a period of time, y is a  DateTime object and
> > z is a DateTime object that may be omitted if the process is nto to
> > terminate.
> > eg: every Tuesday at 4pm, starting May 20th, ending December 31st
> > every Wednesday at 5pm GMT from now onwards.
> > 
> > Obviously the more flexible the expression of time periods and dates,
> > especially in the last option (for example: every other Tuesday starting
> > today and ending next week would be nice ;-), the better :-)
> 
> 
> I would add: something along the lines of: every first and third
> tuesday of the month. To this list.
> 

I would add the "last day of the month" as well.

All my best,


Jason Spisak
CIO
HireTechs.com
6151 West Century Boulevard
Suite 900
Los Angeles, CA 90045
P. 310.665.3444
F. 310.665.3544

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZScheduler

2000-05-18 Thread Jerry Spicklemire

There was some discussion earlier this year on the Zope-Dev list. THese
items may belong in subclassed objects based on "schedulable"(?) or might
be considered part of a larger "Zope Event Model" project, for later on. At
any rate, here are some of the ideas that came out back in February.

"Zope and a standalone Python event loop can easily pass messages in the form
of  records in a shared data store, e.g. a PostgreSQL database.

> ... Do you think it's important to capture output?

Not in itself, but it is certainly necessary to verify successful completion
of each event, and those events can involve creation of output. ZODB may or
may not be the target storage for such output, but an effective Event
Manager must at least be able to confirm the output's existence and
correctness, currency, etc.

When an event fails an error event may be generated, whose first purpose is
to attempt to restart the failed event, including verifying and/or
reinitializing any prerequisites. An alert event (auto-page) may also be
generated, to notify the designated driver of a mishap. (Yuck!)

We found that we needed to track :

dependencies (conditions required prior to start, such as prior events)

normal runtime window (earliest start time, latest end time)

normal runtime length (shortest expected completion period, longest)

on-completion action (initiate subsequent event)

on-error action (re-start event, alert event, etc.)

>The kinds of scheduled tasks I'm thinking about are
> - email reminders
> - garbage collection
> - updating syndicated content from other sites
>
>Anybody have other examples with other use patterns?

 - promoting new or updated content through develop, test, production status

 - spamming users when new content gets published

 - notifying content maintainers of irate feedback (after spamming users)"

from: http://lists.zope.org/pipermail/zope-dev/2000-February/003220.html

Later,
Jerry S.



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-17 Thread Bill Anderson

Chris Withers wrote:
> 
> Karl Lewin wrote:
> > What sort of scheduling options would be "nice to have" in a scheduling
> > product?
> 
> 1. The ability to have a method called at a certain DateTime
> eg: next Tuesday, at 5pm GMT
> 
> 2. The ability to have a method executed every x, where x is a period of
> time.
> eg: every 2 hours
> 
> 3. The ability to have a method executed every x, starting and y and
> finished at z, where x is a period of time, y is a  DateTime object and
> z is a DateTime object that may be omitted if the process is nto to
> terminate.
> eg: every Tuesday at 4pm, starting May 20th, ending December 31st
> every Wednesday at 5pm GMT from now onwards.
> 
> Obviously the more flexible the expression of time periods and dates,
> especially in the last option (for example: every other Tuesday starting
> today and ending next week would be nice ;-), the better :-)


I would add: something along the lines of: every first and third
tuesday of the month. To this list.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )