Janka no Benzin Tanka Posted January 21, 2010 Author Report Share Posted January 21, 2010 (edited) Atradu kur. Tur, Schedule Task, izvēleties to .php failu un viss? Edited January 21, 2010 by Janka no Benzin Tanka Quote Link to comment Share on other sites More sharing options...
Gustins Posted January 21, 2010 Report Share Posted January 21, 2010 Atradu kur. Tur, Schedule Task, izvēleties to .php failu un viss? Jā, pirmstam protams pāŗbaudi vai reāli php scripts darbojās Quote Link to comment Share on other sites More sharing options...
Janka no Benzin Tanka Posted January 21, 2010 Author Report Share Posted January 21, 2010 Jā, pirmstam protams pāŗbaudi vai reāli php scripts darbojās Skripts darbojās, visu izdarīju caur schedule task, bet viņš tikai atvert caur Zend Development Enviroment un neko nedara. Quote Link to comment Share on other sites More sharing options...
briedis Posted January 21, 2010 Report Share Posted January 21, 2010 Skripts darbojās, visu izdarīju caur schedule task, bet viņš tikai atvert caur Zend Development Enviroment un neko nedara. Nu bet loģiski. Palasi te: http://www.devx.com/DevX/Article/39900/1763/page/3 vai gūglē pameklē... Quote Link to comment Share on other sites More sharing options...
Janka no Benzin Tanka Posted January 22, 2010 Author Report Share Posted January 22, 2010 (edited) Nu bet loģiski. Man nevajag lai viņu tikai atver, man vajag lai viņu nolasa un izdara, kas skriptā norādīts. P.S. OS: win xp Cik sapratu man vajag uztaisīt .bat failu, kuru palaist caur schedule task, piemēram SET PATH="D:\kautkur" start php.exe mansphpfalis.php ? Edited January 22, 2010 by Janka no Benzin Tanka Quote Link to comment Share on other sites More sharing options...
briedis Posted January 22, 2010 Report Share Posted January 22, 2010 Tāpēc ka php skripts ir vienkāršs teksta fails ar paplašinājumu .php. Pats par sevi viņš neko nedara. Lai kaut kas notiktu, ir jāpalaiž caur komandrindu php.exe, norādot izpildāmo php failu. To var izdarīt pašorcīgi rakstot komandrindā, vai arī uztaisot BAT failu, kur atrodas komandas. Tā kā jā, taisi vien BAT failu, norādi vajadzīgos ceļus un skaties, kas kā notiek. Ņem vērā, ja php failā ceļi būs norādīti relatīvi, tad būs problēmas... 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.