//if it doesn't die, it's authenticated
//log the execution of script
CRM_Core_Error::debug_log_message('EmailProcessor.php from the cli');
//if it doesn't die, it's authenticated
//log the execution of script
CRM_Core_Error::debug_log_message('EmailProcessor.php from the cli');
if (!$lock->isAcquired()) {
throw new Exception('Could not acquire lock, another EmailProcessor process is running');
if (!$lock->isAcquired()) {
throw new Exception('Could not acquire lock, another EmailProcessor process is running');
if (!$lock->isAcquired()) {
throw new Exception('Could not acquire lock, another EmailProcessor process is running');
if (!$lock->isAcquired()) {
throw new Exception('Could not acquire lock, another EmailProcessor process is running');