Running a python code periodically

Gabriel Ibanez mobile at ibinsa.com
Tue Apr 8 15:01:20 EDT 2008


Hi,

On Linux/Unix:

$ man at

You could create a bash script using this command. Keep in mind that the script must "schedule" itself again.

There's other way: using the cron daemon (crond). Its programming depends on the used distro.

I hope this helps.

Regards ..

  ----- Original Message ----- 
  From: Maryam Saeedi 
  To: python-list at 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 some other program like a bash script.

  Thanks,

  Maryam




------------------------------------------------------------------------------


  -- 
  http://mail.python.org/mailman/listinfo/python-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080408/db715dae/attachment-0001.html>


More information about the Python-list mailing list