Is there a way to schedule my script?

Juan Christian juan0christian at gmail.com
Thu Dec 18 17:13:16 EST 2014


On Thu Dec 18 2014 at 2:24:46 PM Ian Kelly <ian.g.kelly at gmail.com> wrote:
What kind of random distribution of the time between executions are you
looking for? A random sleep lends itself easily to a uniform distribution.
The latter approach that you describe would result in a geometric
distribution.

I'm looking for a random, but controlled delay between executions.

Let's say I execute the script now, then in 5~10 min I'll execute again,
this time can be 5, 6, ... 10 minutes, this script pretends to do 'human
actions' so I can't be doing these 'actions' with a specific and rigid
times.

The delay between the executions can't be the same always.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141218/9019d872/attachment.html>


More information about the Python-list mailing list