| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 57880 | 2005-05-15 07:16:00 | Running a online script from my local computer | stu161204 (123) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 355298 | 2005-05-15 07:16:00 | Hi :) Unlucky one of the web hosts I am with does not offer cron jobs (or is not clearly listed on there site) & I a want to run a php backup script now how would I do this from my local computer? I am thinking of using the built-in (to windows) Scheduled Tasks to run the script. How would I do this???? e.g. to get Scheduled Tasks to run a online file? I have Win XP pro Any Help is welcome :) |
stu161204 (123) | ||
| 355299 | 2005-05-15 07:28:00 | Hi :) Unlucky one of the web hosts I am with does not offer cron jobs (or is not clearly listed on there site) & I a want to run a php backup script now how would I do this from my local computer? I am thinking of using the built-in (to windows) Scheduled Tasks to run the script. How would I do this???? e.g. to get Scheduled Tasks to run a online file? I have Win XP pro Any Help is welcome :) 2 Schedule Start > [Settings if on Classic XP Style >] Control Panel > Scheduled tasks > Add Scheduled Task > Next > Internet Explorer > Select Time Interval > next > select Time interval > next > enter password > next > finish > right Click Task in schedule list and choose properties > add url behind program location > Click Okay |
CreightonBrown (5692) | ||
| 355300 | 2005-05-15 08:12:00 | wow, thats a great idea. just 'tag' a page online that will run the relevant stuff for you (especially if your on an always on connection and never turn your computer off like us). secure it with an obscure path and filename and all should be well. there must be a more invisible way to do this though. is there a way to maybe schedule a 'page tag' without a browser involved. | sal (67) | ||
| 355301 | 2005-05-26 04:39:00 | Part from CreightonBrown idea any other ways to do this? (I dont rally what to use a browser if need be) could I do the same with a ms-dos script? That gets called with windows Schedule. |
stu161204 (123) | ||
| 355302 | 2005-05-26 06:13:00 | For you to run a script on a remote computer, you have to have some way to "be" a running process on that computer . That is, you need a server on it, such as a www, ftp, telnet (!) or other session login server, or cron . They are already running with the appropriate permissions, and if you can legally access them, you can carry out whatever the process is allowed to do . If the www server can execute php scripts, just have a password protected directory or page which lets you start it . Then you can use the MS scheduler to start something which will access the page . It needn't be a browser . . . something like telnet the . remote . site:80/blah . more . php?etc . etc in a DOS batch (or PIF) file will probably work . You can include passwords in the command line . (Or if you can't in a telnet line, use a minimal text-only broser such as lynx) . |
Graham L (2) | ||
| 1 | |||||