Vote count:
0
I am trying to configure a crontab task that every second loads me a '.php' file in another server. That means from server1 I call a file in server2.
So server1 do a crontab tast like 0 * * * * wget http://ift.tt/1iBz1QI
file2, a php file, has a while(true){//tasks; sleep(1)}
My question is if this is the best way to do what I want and in case that isn't the best, tell me the right one
Thanks in advice!
P.D: I haven't any knowledge in shell programming.
asked 2 mins ago
Aucun commentaire:
Enregistrer un commentaire