473,395 Members | 1,452 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

search the network & cronjob

hi ng,
is it possible with php to search new content on internet sides with an
daily php cronjob? Are there any php-tool (to search and save into xml
or databases; and cronjob-tools) available?
thx, steff
Aug 16 '06 #1
1 1095
On Wed, 16 Aug 2006 11:18:41 +0200, Stefan Schwärzler wrote:
is it possible with php to search new content on internet sides with an
daily php cronjob?
Yes.
Are there any php-tool (to search and save into xml or
databases
file_get_contents (or even better the curl* tools) will get you the
content.

From there you can save it using file_put_contents
and cronjob-tools) available?
The PHP CLI binary (should come with your distribution) can be run from
cron. Use "#!/usr/bin/env php" as the first line of your PHP script.

That should give you enough to get started (I've already used up my quota
of writing fully functional code for other people today - so you just get
hints/pointers).

Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

Aug 16 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mossum | last post by:
Hello, I have a PHP file that reads another PHP file and writes it as a static HTML page. I'd like to run the first PHP file as a cronjob (so that the static HTML page is updated once an hour)....
3
by: Chung Leong | last post by:
Here's the rest of the tutorial I started earlier: Aside from text within a document, Indexing Service let you search on meta information stored in the files. For example, MusicArtist and...
4
by: coool | last post by:
Hi I'm trying to run a cronjob on a php script everything is working fine, but I'm getting my server disk space fulled up - so what's wrong here ??? how can I fix this problem ?
0
by: okonita | last post by:
Hi all, I need to learn how to create a cronjob in a Linux environment. What are the steps necessary to accomplish this. For example, I want to run daily statistics for a set of active/volatile...
0
by: ecmrd600 | last post by:
I have put my link into cronjob like Entry 1 Command to run: http://www.ecmrd.com/dbiplab/white_...cal_compile.php Minute(s):59 Hour(s): every 1 hr
1
by: hotflash | last post by:
Hi All, I am working on a search feature, let's say if you type in the network "Cisco", it will search and display all of the projects under Network "Cisco" for me even the project is already...
2
by: mauricioarango | last post by:
Hi I'm trying to run an scheduled php script using cronniX on mac os x. So far I haven't got much promising results, but i think i'm close to it. I'm not familiar at all with Terminal and its...
4
by: stefano.troiani | last post by:
Hi, I have a web site that sends emails to some 17000 newsletter subscribers, the script takes about 5 minutes to complete the task, depending of the size of the attachment. The problem is that...
5
by: Christian Schlemmer | last post by:
Hi, in a webapplication, after a submit a page is called which is processing images uploaded by the user. currently after submit a status bar will be visible (the page for the image processing...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.