techiefreak05 Posted April 8, 2007 Share Posted April 8, 2007 Hello, I am experimenting with web crawling and spidering and the spider script i have needs to be ran manually. how would i set it to run at certain times? automatically? Link to comment https://forums.phpfreaks.com/topic/46106-how-to-run-php-script-at-certain-times/ Share on other sites More sharing options...
HaLo2FrEeEk Posted April 8, 2007 Share Posted April 8, 2007 Its called Cron, google it, I don't know enough about it to help you very well. Link to comment https://forums.phpfreaks.com/topic/46106-how-to-run-php-script-at-certain-times/#findComment-224035 Share on other sites More sharing options...
MadTechie Posted April 8, 2007 Share Posted April 8, 2007 in basic terms it runs a "job" at a set time, have a page that does something, then setup a cron job to run at a time (minute/hour/day....) and enter the url to that page.. Link to comment https://forums.phpfreaks.com/topic/46106-how-to-run-php-script-at-certain-times/#findComment-224091 Share on other sites More sharing options...
HaLo2FrEeEk Posted April 8, 2007 Share Posted April 8, 2007 Its a little more advanced than that, but that is the basic essense of it. Link to comment https://forums.phpfreaks.com/topic/46106-how-to-run-php-script-at-certain-times/#findComment-224092 Share on other sites More sharing options...
PC Nerd Posted April 8, 2007 Share Posted April 8, 2007 if you know windows well, its exactly like a scheduled task. you tell it where the script is, and when and how often to run it and it does it. your server may or may not offer cron tobs aka cron tabs. youll have to look into it. either you submit a user friendly form, or you have to code it manually youreflt, in which i recommend googl for a quick tutorial. goodluck Link to comment https://forums.phpfreaks.com/topic/46106-how-to-run-php-script-at-certain-times/#findComment-224093 Share on other sites More sharing options...
HaLo2FrEeEk Posted April 8, 2007 Share Posted April 8, 2007 I had to do it through shell, it was not easy, it was actually very ugly. Link to comment https://forums.phpfreaks.com/topic/46106-how-to-run-php-script-at-certain-times/#findComment-224096 Share on other sites More sharing options...
MadTechie Posted April 8, 2007 Share Posted April 8, 2007 if you have access to cPanel is has a standard (easy one) but you can use the *nix version (advanced) Link to comment https://forums.phpfreaks.com/topic/46106-how-to-run-php-script-at-certain-times/#findComment-224098 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.