Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Setting up a cron?

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

Ericsson

VIP Member
Impact
8
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Code:
lynx --dump [url]http://yoursite.com/cronjob.php[/url] >/dev/null

lynx is a text based web browser that is on pretty much every linux system. This will visit the url as needed ;) And execute the script, and in cpanel just select the times you need and your done :)

If you need any further help, let me know.

BTW, i would put like http://yoursite.com/cronjob.php?password=thepassword

for the url, this way you dont get unwanted users execting your script.

And if you want to get fancy, get your servers ip address and write a php script to only allow it to execute it if the ip address matches the server ip address.

Just private message me, or contact me via messager from my profile if you need anything.

Rep please :)
Cody
 
1
Close
axilant said:
Code:
lynx --dump [url]http://yoursite.com/cronjob.php[/url] >/dev/null

lynx is a text based web browser that is on pretty much every linux system. This will visit the url as needed ;) And execute the script, and in cpanel just select the times you need and your done :)

If you need any further help, let me know.

BTW, i would put like http://yoursite.com/cronjob.php?password=thepassword

for the url, this way you dont get unwanted users execting your script.

And if you want to get fancy, get your servers ip address and write a php script to only allow it to execute it if the ip address matches the server ip address.

Just private message me, or contact me via messager from my profile if you need anything.

Rep please :)
Cody

LOL

As he finshes it off with "Rep please :)"

iNod.
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back