Cancelado

(PHP) Connect to Server and Parse Responses

I require a shell script to be written in PHP that will initiate a connection to a remote server and send out one command every 5 seconds throughout a 24 hour period. That would be 432,000 times in a day. In addition to sending out the command 5 times a second, the script must also be reading through the results looking for a specific letter to show up at the end of the line in each response. As soon as that response is found, an email must be sent.

The parsing must NOT parse each response as it comes and then send out the next command, it must continually send out 5 a second and once the letter required is found at the end of the response line, the commands must be stopped from being sent and an email dispatched FAST.

This is a short script but requires the best efficiency of code. I will only accept this in PHP as it is somewhat faster than Perl I am led to believe. This script will be access via SSH.

Just to clarify, there will be ONE single command being sent out 5 times a second which never changes. The responses follow a set format and it is dependent on the last letter of the response as to whether or not to stop sending requests and send the email.

Any questions please ask. No timewasters, this is just a small project.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

PHP on CentOS

Accesible and operable via SSH

Code never to be redistributed again

For internal company use

Habilidades: Engenharia, Linux, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: run shell script php, remote work php, best php coder, responses, remote server, php remote work, php command, linux ssh server, set web server centos, email server centos, run linux command php, run command linux, perl email parsing, shell script perl, centos sending, run php command, dependent php, php script email parsing, remote connection linux, centos gpl, remote desktop server connection, email stopped working, led project program, php connect, php ssh command

Acerca do Empregador:
( 1 comentário ) United Kingdom

ID do Projeto: #2977553

5 freelancers estão ofertando em média $12 para este trabalho

jthoma

See private message.

$17 USD in 7 dias
(186 Comentários)
6.4
johnweavervw

See private message.

$12.75 USD in 7 dias
(62 Comentários)
5.3
hgffhghf

See private message.

$17 USD in 7 dias
(37 Comentários)
4.3
redhawkvw

See private message.

$8.5 USD in 7 dias
(3 Comentários)
0.3
Kousei

See private message.

$4.25 USD in 7 dias
(0 Comentários)
0.0