Find Jobs
Hire Freelancers

Code convert

$30-250 USD

Pågår
Lagt ut over 5 år siden

$30-250 USD

Betalt ved levering
I need to convert a python code to shell script for linux environment. ######################################################### ##Bob Brook ##Assumptions: ##There are infrequent Informatica workflow failures during the nightly cycle ##The majority of the failures are caused by momentary Network or Database Connectivity related issues and not data related issues. ##The restarting of the workflow is attempting to address the nuisance of night time on call wakeup call which is simply ##a failure due to the transient nature of a connectivity momentary interruption. ## ##This script assumes that the session and workflow have been designed to be restartable at any point in its cycle. ##For example the workflow begins by truncating the table, only updates occur, or an appropriate lookup has been ##set in place to ensure that a row has not been inserted multiple times, in the event of a restart as implemented below. ## ##Purpose: To encapsulate the Informatica execution command line in one wrapper script ## Pass in the folder name and the workflow name (separated by a space) as parameters ##Script will run up to 3 times if the return code is not 0 (zero) ##In our experience 90% of the night time interruptions are connectivity related ##If the restartable workflow does not succeed within 15 minutes and 3 restarts, then the script ##will send a failure signal and further investigation will be required. ## ##Script can be modified to pass in the Domain and Integration services as parameters on the command line ## to accomodate different environemnts ###################################################################### import os,sys,time #the zero argument is the name of the calling program folder=[login to view URL][1] workflow=[login to view URL][2] for xxx in range (3): #script='pmcmd startworkflow -d Domain_QA_ETL -sv PC_QA_Integration_Service -uv PMUSER -pv PMPASSWORD -f '+ folder +' -wait ' + workflow script='pmcmd startworkflow -d Domain_QA_ETL -sv PC_QA_Integration_Service -u [login to view URL] -p password -f '+ folder +' -wait ' + workflow print 'The command line is.' print script rtrn=[login to view URL](script) print 'The return code for each iteration is captured and printed to the std output.' print 'The exit code is. '+ str(rtrn) + '\nThe iteration is ' + str(xxx) if rtrn==0: [login to view URL](0) ##If the execution fails, wait 300 secs before reinitiating to potentially allow the fault to clear, such as a network connection. [login to view URL](10) if rtrn<>0: ##If the 3 iterations are not successful, exit with a failure to the scheduler [login to view URL](1)
Prosjekt-ID: 18237562

Om prosjektet

4 forslag
Eksternt prosjekt
Aktiv 5 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
4 freelancers are bidding on average $121 USD for this job
Brukeravatar
Hey? How are you? I have reviewed "Code convert" .I have good skills for these (Linux, Python, Shell Script). I have been working for 7 yrs in this scope. While we contract and work in our jobs, I will get paid once you have confirmed satisfied result. If I do not deliver satisfied result, I will never get paid from you. We can discuss more details to understand more easily if you have other infos. Hope to work with you. Thank you.
$155 USD om 3 dager
4,8 (27 omtaler)
5,1
5,1
Brukeravatar
Hi.. How are you? I saw your description carefully and i 'm very interesting in your project. Owing to my rich experience in python and shell script , i can say i can do this perfectly. I have many top skills like C#, C++, CSS,HTML ,PHP , BOOTSTRAP,JAVASCRIPT,AJAX and so on. If you would like to choos me , i do my best. Thanks.,
$155 USD om 3 dager
5,0 (2 omtaler)
2,9
2,9
Brukeravatar
Hello, I'd like to make a contribution and help you out with your project because I have experience working with Python whether is web or desktop development as well as creating APIs therefore I could guarantee the satisfaction on the needs in this project. if you're interested in my bid, send me a message and we could sort terms. best regards!
$120 USD om 3 dager
4,8 (5 omtaler)
2,3
2,3
Brukeravatar
I can do this project. I have rich experience of shell script for linux. I can satisfy you perfectly. Please contact and discuss with your project. thanks
$55 USD om 1 dag
0,0 (0 omtaler)
0,0
0,0

Om klienten

UNITED STATESs flagg
Ladera Ranch, United States
5,0
3
Betalingsmetode bekreftet
Medlem siden nov. 26, 2018

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.