Hi in my case on Almalinux it was
* * * * * /usr/local/bin/php -f /targetdir/RunTasks.php >> /targetdir/logs/errors.log &2>1
as I wanted to append >> an error as well however in my case " &2>1" did not work but works perfectly without it!
does anyone know why?thought I would post this to help others, if you want the error log also include your usual error settings at the head of the script i.e.
in my case wanted everything

error_reporting(E_ALL); // Error/Exception engine, always use E_ALL
ini_set('ignore_repeated_errors', TRUE); // always use TRUE
ini_set('display_startup_errors', true);
ini_set('display_errors', true); // Error/Exception display, use FALSE only in production environment or real server. Use TRUE in development environment
ini_set('log_errors', TRUE); // Error/Exception file logging engine.
ini_set('error_log', '/targetdir/logs/errors.log'); // Logging file path