Bash script:
$ cat test.sh
#!/bin/bash
while true
do
/home/user/public_html/website.com/test.php
sleep 5
done
Im trying to call it with c
to make the cron job work (executable) do a
$ chmod +x /home/user/public_html/website.com/test.sh
to make the bash script call the php
$ chmod +x /home/user/public_html/website.com/test.php
finally your php file should have a shebang copy paste this code to top of php file
#!/usr/bin/php
or without shebang you need to change you shell script call
php /home/user/public_html/website.com/test.php