I have wrote a php file for having cronjob in my server, but the problem is that every one can access to that.
I just want to give access to cronjob file , Just to server and nothing more.
How can i do this ?
Can we do it by getting user ip and server ip and if it was not server ip file gets die?
Is it good way?
Any better way?