Ich hatte mal einen Cronjobservice auf JS geschrieben, was ich ca. 6 Monate lang genutzt hatte. Hier eine modifizierte Version, mit der man auch andere Sachen machen kann
.
Hier der Code

Hier der Code
PHP-Code:
// -- Cronjob and Sitesurfer
// --
// -- Optimized Version: Runs only when IE is not busy...
// -- How to use:
// -- Change the webadresses in the array and save it as "xxxxxxxx.js".
// -- Just rightClick and open with WindowsScriptingHost or start it with the taskmanager
// -- Tips: You can set Line 19 to false, so the script runs in background
var sites = new Array(
"http://www.website1.com",
"http://www.website2.com",
"http://www.website3.com"
)
try{
for(i=0 ; i< 10 ; i++){
//Sart the Array randomly
sites.sort( randOrd )
WScript.sleep(3000)
var ieobj = WScript.createobject("internetexplorer.application");
ieobj.visible=true;
for(y=0 ; y < sites.length ; y++)
{
if(ieobj.Busy)
{
WScript.sleep(GetRandom(3,5));
if(ieobj.Busy){WScript.sleep(GetRandom(3,5));}
if(ieobj.Busy){WScript.sleep(GetRandom(3,5));}
}
// Navigate randomly throw ArrayList
ieobj.navigate(sites[y]);
WScript.sleep(GetRandom(1,3));
}
ieobj.quit();
WScript.sleep(GetRandom(1,5));
}
}
catch(error){
//WScript.Echo("Abgevrochen");
}
// Helper functions....
function randOrd(){
return (Math.round(Math.random())-0.5);
}
function GetRandom( min, max ){
if( min > max ){return( -1 );}
if( min == max ) {return( min );}
rand1 = min + parseInt( Math.random() * ( max-min+1 ));
if(rand1 == 1){ return 5000;}
if(rand1 == 2){ return 7000;}
if(rand1 == 3){ return 90000;}
if(rand1 == 4){ return 13000;}
if(rand1 == 5){ return 20000;}
//else
return 5000;
}