public function recurring($run_every, $action, $ident = null, $priority = 0, $extra = null, $user = null, $qbxml = null, $replace = true)
	{
		$run_every = QuickBooks_Utilities::intervalToSeconds($run_every);
		
		if (!strlen($ident))
		{
			$tmp = array_merge(array('a', 'z'), range(0, 9));
			shuffle($tmp);
			$ident = substr(implode('', $tmp), 0, 8);
		}
		
		if ($this->_driver)
		{
			/*
			if (!$user)
			{
				$user = $this->_driver->authDefault();
			}
			*/
			
			// Use the default user (provided in __construct) if none is given
			if (!$user)
			{
				$user = $this->_user;
			}
			
			return $this->_driver->recurEnqueue($user, $run_every, $action, substr($ident, 0, 40), $replace, $priority, $extra, $qbxml);
		}
		
		return false;
	}
public function recurring($run_every, $action, $ident = null, $priority = 0, $extra = null, $user = null, $qbxml = null, $replace = true)
	{
		$run_every = QuickBooks_Utilities::intervalToSeconds($run_every);
		
		if (!strlen($ident))
		{
			$tmp = array_merge(array('a', 'z'), range(0, 9));
			shuffle($tmp);
			$ident = substr(implode('', $tmp), 0, 8);
		}
		
		if ($this->_driver)
		{
			/*
			if (!$user)
			{
				$user = $this->_driver->authDefault();
			}
			*/
			
			// Use the default user (provided in __construct) if none is given
			if (!$user)
			{
				$user = $this->_user;
			}
			
			return $this->_driver->recurEnqueue($user, $run_every, $action, substr($ident, 0, 40), $replace, $priority, $extra, $qbxml);
		}
		
		return false;
	}
public function recurring ( $ run_every , $ action , $ ident = null , $ priority = 0 , $ extra = null , $ user = null , $ qbxml = null , $ replace = true ) { $ run_every = QuickBooks_Utilities :: intervalToSeconds ( $ run_every ) ; if ( ! strlen ( $ ident ) ) { $ tmp = array_merge ( array ( 'a' , 'z' ) , range ( 0 , 9 ) ) ; shuffle ( $ tmp ) ; $ ident = substr ( implode ( '' , $ tmp ) , 0 , 8 ) ; } if ( $ this -> _driver ) { /*
			if (!$user)
			{
				$user = $this->_driver->authDefault();
			}
			*/ // Use the default user (provided in __construct) if none is given if ( ! $ user ) { $ user = $ this -> _user ; } return $ this -> _driver -> recurEnqueue ( $ user , $ run_every , $ action , substr ( $ ident , 0 , 40 ) , $ replace , $ priority , $ extra , $ qbxml ) ; } return false ; }
Register a recurring event

Recurring events are actions that get queued up to run once every so
often. So, for instance, if you want to make sure you issue a
CustomerQuery every day, you can register a recurring event that occurs
every day, and then the SOAP server/Web Connector will try to make sure
that it gets run every day.

Note that the SOAP server can't guarantee that an action will occur
every interval *unless* the Web Connector is set to connect at that same
interval or (preferably) more often.

@param mixed $run_every		This can be either an integer number of seconds, or a string like: "15 minutes", "2 days", "hour", etc.
@param string $action		The QuickBooks action you want to execute
@param mixed $ident			An optional ident string (say you wanted to do a CustomerQuery for customer #14 every 15 minutes, you'd pass CustomerQuery for the action, and 14 for the ident)
@param integer $priority		The priority of the action (higher priorities run first)
@param mixed $extra			Any extra data to include for the request handler
@param string $user			The username of the QuickBooks Web Connector user this event should be registered for
@param boolean $replace		Whether or not this should replace any other recurring events with this action/ident
@return boolean
Register a recurring event