In addition to what others have said about the impossibility of providing a URL for the request:
I found some links on the Internet which warn
and. ) Repeat the pattern as / 2 every 2 minutes or / 10 for every 10 minutes, not supported by all operating systems. If you try to use it and crontab complains, it is probably not supported.
However, if it is assumed that duplicate patterns are supported, it should work.
So, a more portable way:
* 0,3,9,12,15,18,21 * * * php /var/www/myscript/cronjob.php
source
share