<?php

class SynCron {



	public static function start($jobId, IActionAdapter $adapter, $timeout, $periodic) {
		$response = ResponseContext::getInstance();
		$response->SynCron->start($jobId, $adapter, $timeout, $periodic ? 1 : 0);
	}



	public static function cancel($jobId) {
		$response = ResponseContext::getInstance();
		$response->SynCron->cancel($jobId);
	}



} // class SynCron

?>
