On 21/02/2013 04:04, Rita wrote:
Hello,
Here is what I am trying to do. (Currently, I am doing this in cron but
i need much more granularity). I am trying to run program every 20 secs
and loop forever. I have several of these types of processes, some
should run every 5 mins, 10 secs, 20 secs, 1
Thanks. This is what I was looking for!
On Thu, Feb 21, 2013 at 9:48 AM, Adam Tauno Williams wrote:
> On Wed, 2013-02-20 at 23:04 -0500, Rita wrote:
>
> > Here is what I am trying to do. (Currently, I am doing this in cron
> > but i need much more granularity). I am trying to run program every
On Wed, 2013-02-20 at 23:04 -0500, Rita wrote:
> Here is what I am trying to do. (Currently, I am doing this in cron
> but i need much more granularity). I am trying to run program every 20
> secs and loop forever. I have several of these types of processes,
> some should run every 5 mins, 10 secs
Thanks for the replies.
Its also important for me to have asynchronous abilities. I will be running
some programs which will be taking much longer (1-2 minutes) and I don't
want others to be blocked.
On Thu, Feb 21, 2013 at 2:35 AM, Chris Rebert wrote:
> On Wed, Feb 20, 2013 at 8:04 PM, Rita
On Wed, Feb 20, 2013 at 8:04 PM, Rita wrote:
> Hello,
>
> Here is what I am trying to do. (Currently, I am doing this in cron but i
> need much more granularity). I am trying to run program every 20 secs and
> loop forever. I have several of these types of processes, some should run
> every 5 mins
On 21/02/2013 06:04, Rita wrote:
Hello,
Here is what I am trying to do. (Currently, I am doing this in cron but
i need much more granularity). I am trying to run program every 20 secs
and loop forever. I have several of these types of processes, some
should run every 5 mins, 10 secs, 20 secs, 1
On Feb 21, 9:04 am, Rita wrote:
> Hello,
>
> Here is what I am trying to do. (Currently, I am doing this in cron but i
> need much more granularity). I am trying to run program every 20 secs and
> loop forever. I have several of these types of processes, some should run
> every 5 mins, 10 secs, 20
On 2/20/2013 11:04 PM, Rita wrote:
Here is what I am trying to do. (Currently, I am doing this in cron but
i need much more granularity). I am trying to run program every 20 secs
and loop forever. I have several of these types of processes, some
should run every 5 mins, 10 secs, 20 secs, 1 min a
You could simply put a time delay in your program at the end of the loop
before it starts again-
import time
# sleep for 1 minute
time.sleep(60)
On Wed, Feb 20, 2013 at 8:04 PM, Rita wrote:
> Hello,
>
>
> Here is what I am trying to do. (Currently, I am doing this in cron but i
> need much more