I just changed the command in crontab without making a .sh file. This is what I added:
PHP Code:
* * * * * cd /home/user/domains/domain.tld/public_html; /usr/bin/php8.3 
...