php - CRON command to run URL address every 5 minutes -


i'm newbie in cron commands , need help.

i have script on http://example.com/check/.

whats command cron run url every 5 minutes?

i tried

*/5 * * * * /home/test/check.php

but want run url not relative script address. how it?

based on comments try

*/5 * * * * wget http://example.com/check 

[edit: 10 apr 2017]

this answer still seems getting few hits thought i'd add link new page stumbled across may create cron commands: https://crontab.guru


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -