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

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -