If I make a scheduler task from web2py I have to do something like:

    import uuid
    uuid_str = str( uuid.uuid4() )
    *import simplejson*
    db.scheduler_task.insert( 
      task_name = '%s' % ( auth.user.username ),
      function_name = 'sort_out_files',
      timeout = 120,
      *args = simplejson.dumps(* [uuid_str] *)*,
    )

Is it right? Why I can't do just:
    ...
    args = [uuid_str]
    ...
?

Reply via email to