i really want to make a small app in linux that does say, umm...
something like this... and i'll set a crond job for every hour or so.
run the uptime command
save the results say ( 01:12:01 up 13 days, 21:47, 3 users, load average: 0.41, 0.21, 0.12 (my current stats)) to a file called something.php
open a connection to my website.
upload the file.
close the connection
smile and have a pepsi.
any one know a simple way to complie this?
something like this... and i'll set a crond job for every hour or so.
run the uptime command
save the results say ( 01:12:01 up 13 days, 21:47, 3 users, load average: 0.41, 0.21, 0.12 (my current stats)) to a file called something.php
open a connection to my website.
upload the file.
close the connection
smile and have a pepsi.
any one know a simple way to complie this?