from datetime import datetime, timedelta import subprocess def main(): timestamp = datetime.now().isoformat() print 'Hello, World! It is currently %s.' % timestamp def reschedule(**kwargs): when = datetime.now() + timedelta(**kwargs) timestamp = when.