leisure Posted April 1, 2006 Report Share Posted April 1, 2006 Kaa wareetu uztaisiit to lai datubaazee piem 19:00 saskaitiitos rezultaati...??? Link to comment Share on other sites More sharing options...
bubu Posted April 1, 2006 Report Share Posted April 1, 2006 Ar šedulera palīdzību. Atkarīgs no tava OS. Windowsam - Task Scheduler, Linuxiskajām OSēm - cron. Link to comment Share on other sites More sharing options...
leisure Posted April 1, 2006 Author Report Share Posted April 1, 2006 Neesmu nekad njeemies ne ar task sheduler ne ar Cron ... Un kaa tas buutu tehniskaa zinjaa? vnk 19:00 tiek atveerts piem update.php kas izpilda atjaunoshanas kodu vai tas viss notiek savaadak??? Link to comment Share on other sites More sharing options...
bubu Posted April 1, 2006 Report Share Posted April 1, 2006 Tieši tā. Šeduleris palaiž failu, kurā tu vari sarakstīt ko tik vien pats gribi. Link to comment Share on other sites More sharing options...
Delfins Posted April 2, 2006 Report Share Posted April 2, 2006 Kā piezīme - šāds php fails jātestē no konsoles (ceļi, runtime), lai vēlāk nebrīnītos, ka kaut kas neiet... Link to comment Share on other sites More sharing options...
andrisp Posted April 2, 2006 Report Share Posted April 2, 2006 Pārliecinies vai ir tavam linuxim ir uzlikts cron, mēģini meklēt /etc/crontab failu. Ja atrodi, tad pievieno apt. šādu rindu. 0 19 * * * * root php /cels/uz/php/failu.php http://www.adminschoice.com/docs/crontab.htm <- Skat. šeit priekš vairāk infas. Link to comment Share on other sites More sharing options...
leisure Posted April 2, 2006 Author Report Share Posted April 2, 2006 ooo... shis baik laps... tnx par infu :) Link to comment Share on other sites More sharing options...
Recommended Posts