/dev/null 2>&1 if ( PHP_SAPI !== 'cli' ) { echo 'This script is intended to be used from command-line only !'; exit(64); } define('FULL_PATH', realpath(dirname(__FILE__) . '/..')); $exit_code = 0; passthru(FULL_PATH . '/in-portal scheduled-task:run', $exit_code); exit($exit_code);