[Zope] scheduling a piece of code to run

Andy McKay andy@agmweb.ca
Wed, 28 Aug 2002 19:50:07 -0700


Write a peice of Python to call that code either through xmlrpc or a simple
urlopen. Schedule that in whatever OS you happen to running (cron, scheduled
tasks etc.)
--
  Andy McKay
  Agmweb Consulting
  http://www.agmweb.ca


----- Original Message -----
From: "Greg Conway" <greg@gmlnt.com>
To: "Zope@Zope. Org" <zope@zope.org>
Sent: Wednesday, August 28, 2002 7:25 PM
Subject: [Zope] scheduling a piece of code to run


> Hi all,
>
> Can anybody please offer any starting points on exactly that?
>
> Bascily I want to run a piece of code (DTML or Python) every, say, 5 mins,
> that will do some SQL queries and then other stuff if a date field is
> greater than the current date and time.
>
> Simple stuff - I hope! But I have not much idea where to start looking,
and
> I haven't been too successful with what I've tried so far... :(
>
> thanks for any help!
>
> Regards,
>
> Greg Conway.
>
> This electronic transmission and any files attached to it are strictly
> confidential and intended solely for the addressee. If you are not
> the intended addressee, you must not disclose, copy or take any action
> in reliance of this transmission. If you have received this
> transmission in error, please notify us by return and delete the same.
> Further enquiries/returns can be posted to postmaster@gmlnt.com
> Thank you.
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
>