def list():
    """List all Tasks in SDB"""
    from boto.manage.task import Task
    print "%-8s %-40s %s" %  ("Hour", "Name", "Command")
    print "-"*100
    for t in Task.all():
        print "%-8s %-40s %s" % (t.hour, t.name, t.command)
Example #2
0
def list():
    """List all Tasks in SDB"""
    from boto.manage.task import Task
    print "%-8s %-40s %s" % ("Hour", "Name", "Command")
    print "-" * 100
    for t in Task.all():
        print "%-8s %-40s %s" % (t.hour, t.name, t.command)