def executewithargs(job, args=None):
    """
	Execute the job ``job`` once or repeatedly with command line arguments.

	``args`` are the command line arguments (:const:`None` results in
	``sys.argv`` being used).
	"""
    job.parseargs(args)
    job._handleexecution()
