I have first tried to execute a php file.
*/10 * * * * /usr/bin/php/ /path/to/file/file.php
I got: -bash: */10: no such file or directory
Then I tried to make it as simple as possible with a curl command. The curl command is working perfectly. But if I try to make a crontab task:
*/10 * * * * curl "https://test.php"
it doesnt work and I get: */10: No such file or directory.
I've also tried
*/10 * * * * /usr/bin/curl/ https://test.php
I don't understand that.