protected function _afterEntityInsert(AnCommandContext $context)
    {
        parent::_afterEntityInsert($context);

        if ($this->_send_after_insert) {
            //run no more than 30 seconds
            $command = sprintf('php -d max_execution_time=30 %s/index.php %s id=%d >/dev/null 2>&1', ANPATH_BASE, PROCESSOR_PATH, $context->entity->id);
            //error_log($command);
            $result = exec_in_background($command);
        }
    }