running a piece of code at specific intervals?

Discussion in 'Python' started by Chris Hare, Aug 4, 2010.

  1. Chris Hare

    Chris Hare Guest

    Don't say cron :

    I want to have a section of my code executed at 15 minute intervals. I am using Threading.timer, but it is causing a problem sinxe I am using sqlite3 and the thread support gives me an error, which aborts part of my code.

    So, is there an alternative to threading.timer?
     
    Chris Hare, Aug 4, 2010
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SmFrZQ==?=

    Running a section of code under a specific account

    =?Utf-8?B?SmFrZQ==?=, Apr 27, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    555
    Martin Dechev
    Apr 27, 2004
  2. Przemo
    Replies:
    5
    Views:
    708
    Teemu Keiski
    Jul 18, 2004
  3. =?Utf-8?B?RGlmZmlkZW50?=

    Question on optimizing a piece of code

    =?Utf-8?B?RGlmZmlkZW50?=, Jun 9, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    529
    Patrice
    Jun 9, 2005
  4. Hristo Stevic

    highlight the piece of code executed

    Hristo Stevic, Dec 7, 2003, in forum: Java
    Replies:
    0
    Views:
    464
    Hristo Stevic
    Dec 7, 2003
  5. Moritz Beller
    Replies:
    19
    Views:
    883
    Pete Becker
    Jun 4, 2004
  6. Bobby Edward

    Code that runs at regular intervals - How?

    Bobby Edward, Jan 3, 2009, in forum: ASP .Net
    Replies:
    3
    Views:
    405
    Bobby Edward
    Jan 3, 2009
  7. Patrick Plattes

    Download a file piece by piece

    Patrick Plattes, Nov 30, 2006, in forum: Ruby
    Replies:
    2
    Views:
    385
    Patrick Plattes
    Nov 30, 2006
  8. zmcelrath87
    Replies:
    4
    Views:
    257
    Lasse Reichstein Nielsen
    Jul 12, 2004
Loading...