On May 8, 3:31 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> "Maryam Saeedi" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
> |I was wondering if you know how can I run a python code once every five
> | minutes for a period of time either using python or some other program
> like
Cron is best for this, and you should be able to create a crontab for
yourself. If your system admin has not enabled user level crons. Then
write a shell-script or python
Shell version
-
count=0
max_number_of_times
while [ $count < $max_number_of_times ];
do
your_command &
slee
"Maryam Saeedi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
|I was wondering if you know how can I run a python code once every five
| minutes for a period of time either using python or some other program
like
| a bash script.
I expect the following should work.
from time impo
On Thu, 8 May 2008 11:02:14 -0500
"Maryam Saeedi" <[EMAIL PROTECTED]> wrote:
> I was wondering if you know how can I run a python code once every five
> minutes for a period of time either using python or some other program like
> a bash script.
Use cron.
> I have asked this question before and s
Can you please explain it a little more? I do not have that much experience!
I really appreciate it if you can share a sample code if you have one.
Thanks
On Thu, May 8, 2008 at 11:07 AM, Amitabh Saikia <[EMAIL PROTECTED]>
wrote:
> write a bash script(to run your program at intervals) and run th
write a bash script(to run your program at intervals) and run the bash
script with nohup
- [EMAIL PROTECTED]
On Thu, May 8, 2008 at 9:02 AM, Maryam Saeedi <[EMAIL PROTECTED]> wrote:
> I was wondering if you know how can I run a python code once every five
> minutes for a period of time either us
I was wondering if you know how can I run a python code once every five
minutes for a period of time either using python or some other program like
a bash script.
I have asked this question before and some of you answered me but I still
have problem. Most of the answers was to use cron and crontab
paul wrote:
> Maryam Saeedi schrieb:
>> Hi,
>>
>> I was wondering if you know how can I run a python code once every five
>> minutes for a period of time either using python or some other program
>> like
>> a bash script.
>
> See the sched module in the standard library or here:
> http://pypi.pyt
Larry Bates schrieb:
> paul wrote:
>> Maryam Saeedi schrieb:
>>> Hi,
>>>
>>> I was wondering if you know how can I run a python code once every five
>>> minutes for a period of time either using python or some other program
>>> like
>>> a bash script.
>> See the sched module in the standard librar
On Tue, 08 Apr 2008 15:01:36 -0500, Larry Bates <[EMAIL PROTECTED]> wrote:
> paul wrote:
>> Maryam Saeedi schrieb:
>>> Hi,
>>>
>>> I was wondering if you know how can I run a python code once every five
>>> minutes for a period of time either using python or some other program like
>>> a bash scrip
On Apr 8, 3:01 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
> paul wrote:
> > Maryam Saeedi schrieb:
> >> Hi,
>
> >> I was wondering if you know how can I run a python code once every five
> >> minutes for a period of time either using python or some other program
> >> like
> >> a bash script.
>
> >
ython-list@python.org
Subject: Running a python code periodically
Hi,
I was wondering if you know how can I run a python code once every five
minutes for a period of time either using python or some other program
like a bash script.
Thanks,
Maryam
--
http://mail.python.org/mailman/listi
paul wrote:
> Maryam Saeedi schrieb:
>> Hi,
>>
>> I was wondering if you know how can I run a python code once every five
>> minutes for a period of time either using python or some other program
>> like
>> a bash script.
>
> See the sched module in the standard library or here:
> http://pypi.pyt
Maryam Saeedi schrieb:
> Hi,
>
> I was wondering if you know how can I run a python code once every five
> minutes for a period of time either using python or some other program like
> a bash script.
See the sched module in the standard library or here:
http://pypi.python.org/simple/Recur/
cheer
riginal Message -
From: Maryam Saeedi
To: python-list@python.org
Sent: Tuesday, April 08, 2008 7:53 PM
Subject: Running a python code periodically
Hi,
I was wondering if you know how can I run a python code once every five
minutes for a period of time either using python or som
Hi,
I was wondering if you know how can I run a python code once every five
minutes for a period of time either using python or some other program like
a bash script.
Thanks,
Maryam
--
http://mail.python.org/mailman/listinfo/python-list
16 matches
Mail list logo