CronJob Commands in Siteground

If you want to run a piece of code on the direct URL then use this command:
wget -q -O – https://example.com/routepath

If you want to run a piece of code on the basis of query parameter then use this command:
/usr/local/php74/bin/php-cli /home/u414-tmgdywtw3t39/www/example.com/public_html/filename.php parameterName

$action = $_GET[‘action’];
  if (!isset($action)) {
    $action = $argv[1];
  }