For instance,
if I have a .pl script, or .php script, I could simply execute on my terminal
Code:
]# php /path/to/my/script.php
and make the code executed.
So, adding a cron job to run every 5 minutes for this script, can be written like this:
Code:
5 * * * * php /path/to/my/script.php
And the question is:
what is the difference between that statement, and, say:
Code:
5 * * * * /usr/bin/php /path/to/my/script.php > /dev/null 2>&1
I've searched the web for a detailed explanation but, I cannot find anything.
Would you explain me this please?
Or show me a page with this issue.
Thanks a lot.
Recent comments
9 hours 30 min ago
18 hours 57 min ago
19 hours 47 min ago
23 hours 20 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 16 hours ago
1 day 21 hours ago
1 day 22 hours ago