cipcaps Posted November 28, 2009 Report Share Posted November 28, 2009 (edited) Sakiet kadu funkciju lietot lai Cron izpilda ari Javascript netikai ielade lapas kodu. Pasreiz lietoju /usr/bin/wget --max-redirect=1000 -O - -q -t 5 http://adrese.lv Paldies visiem! Edited November 28, 2009 by cipcaps Quote Link to comment Share on other sites More sharing options...
2easy Posted November 28, 2009 Report Share Posted November 28, 2009 hmm, nju vispār javascriptu parasti izpilda klienta browseris... pat ja kkāds linux process uz servera arī izpildītu to javascriptu, tad tolks no tā? bet ja tu gribēji, lai jau atvērtā lapā javascripts izpildās ik pēc kāda laika intervāla, tad izmanto setInterval() http://www.w3schools.com/jsref/met_win_setinterval.asp Quote Link to comment Share on other sites More sharing options...
cipcaps Posted December 5, 2009 Author Report Share Posted December 5, 2009 Man vajag lai serveris veic pieprasījumus uz lapu un izpilda visu, gluži kā to darītu parasts lietotājs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.