How to execute a php link through cron job -
i need setup next url execute in every 5 minutes through cronjob.
http://test.com/app/collect-results.php?interval=15
could please help me on this
thanks
to run url cron job, need programme url. in php possible using either wget or curl.
you can utilize curl shown below.
*/5 * * * * curl http://test.com/app/collect-results.php?interval=15 with wget, set cron job like
*/5 * * * * wget http://test.com/app/collect-results.php?interval=15 php
No comments:
Post a Comment