Setting up a cron?

Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
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
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back