(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

Veja mais: the best php coder, run shell script from php, remote work php, questions to ask company, questions to ask a company, php send email source code, follow up letter, best php coder, in linux shell script, being written up at work, the parse platform, responses, remote server, php remote work, php command, parse, parse email, 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

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

ID do Projeto: #2977553

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


See private message.

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

See private message.

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

See private message.

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

See private message.

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

See private message.

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