InMotion Hosting Support Center

How do I access a remote site using a cron job?

Category: Website

n/a Points
2014-01-08 6:23 am EST

Hits: 159
I need a url to run every minute.It can't be run directly as a php file. Its based on MVC.
so the link :
I have a shared hosting.

I want to know the command which should be placed?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



11,186 Points
2014-01-08 8:34 am EST
If you are attempting to access a remote site, your cron would look something like this:

/usr/bin/curl --user-agent Mozilla/5.0

For more information on running cron jobs, take a look at the following article:
How to run a cron job

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!