launching a method every x minutes

So this is a little late, but I thought I’d chime in anyway with yet another solution, probably a bit more “correct” than the one posted by ThomasEgi.

Try this:

def myPeriodicFunc(task):
    print '60 seconds have elapsed'
    return task.again

taskMgr.doMethodLater(60, myPeriodicFunc, 'myPeriodicFunc')