How to run a script via cron?

If points like this in cron:

the script is not run well, or not doing his job.

And if you do this:
wget http ........
It works!

The second way to run is not entirely correct as I understand it?

The question is simple: How can I run the script without wget?
April 19th 20 at 12:17
3 answers
April 19th 20 at 12:19
which php
will show where php is installed
this path is indicated in crontab
For example, if which gave /usr/bin/php, then write it in the crown

/usr/bin/php /var/www/script/test.php
April 19th 20 at 12:21
Show fully how and what to specify. Should be something like this:
1 * * * * /bin/php /var/www/script/test.php
April 19th 20 at 12:23
The decision to publish @Tevin_Jacobs57 in the comments to the question
published answer - Tevin_Jacobs57 commented on April 19th 20 at 12:26

Find more questions by tags The task schedulers