Results 1 to 2 of 2
Hi,
I want to write a service like windows service for my rhel4u5 server.And this service every day at 4:00 am connect a ftp server and download file then parse ...
- 10-28-2008 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 1
Linux Service
Hi,
I want to write a service like windows service for my rhel4u5 server.And this service every day at 4:00 am connect a ftp server and download file then parse information at txt file then insert or update info at my database server(oracle).and this service can be stopped or paused by user.And which program(perl,c,c++,shell script,java) can be used this service.And what is the key word at google for searching code or doc.
Thank you
- 10-28-2008 #2Just Joined!
- Join Date
- Oct 2008
- Posts
- 10
shell script would be suitable for all your demandings
add this script to your crontab jobs to be executed everyday at 4:00
use a "here document" to your ftp connection
parse txt information with awk or sed
update database with structures like:
echo "select dataX from tableX"|sqlplus -s usr/database@passwd


Reply With Quote