Find Jobs
Hire Freelancers

CURL Shell Script

$30-250 USD

Em Andamento
Publicado há quase 14 anos

$30-250 USD

Pago na entrega
Hi, We have a simple shell command like this: for xmlcdrfile in *.[login to view URL]; do curl -X POST --basic -u "UUUUUUU:PPPPPP" -d cdr=$(cat $xmlcdrfile) http://XXXXXXXX; done which can be run to post files to an app server. It responds normally with a 200 OK. The addition of rm $xmlcdrfile before the done also deletes the file. However,, if the post is unsuccessful the file gets deleted anyway. We would like the above modifying so it can be safely run in cron and will only ever delete a file which has been sucesfully posted. In the event of an error, it should pass the file and process the next one. Very quick job for someone who knows what they're doing with shell! Thanks!
ID do Projeto: 713676

Sobre o projeto

1 proposta
Projeto remoto
Ativo há 14 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
Hello, i am shell export, this project is simple, let me do it for you, thank you!
$50 USD em 0 dia
3,3 (8 avaliações)
3,7
3,7

Sobre o cliente

Bandeira do(a) UNITED KINGDOM
Cardiff, United Kingdom
5,0
1
Membro desde jun. 15, 2010

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.