Find Jobs
Hire Freelancers

Code convert

$30-250 USD

W trakcie realizacji
Opublikowano ponad 5 lat temu

$30-250 USD

Płatne przy odbiorze
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)
Identyfikator projektu: 18237562

Informację o projekcie

4 ofert
Zdalny projekt
Aktywny 5 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
4 freelancerzy składają oferty o średniej wysokości $121 USD dla tej pracy
Awatar Użytkownika
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 w 3 dni
4,8 (27 opinii)
5,1
5,1
Awatar Użytkownika
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 w 3 dni
5,0 (2 opinii)
2,9
2,9
Awatar Użytkownika
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 w 3 dni
4,8 (5 opinii)
2,3
2,3
Awatar Użytkownika
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 w 1 dzień
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga UNITED STATES
Ladera Ranch, United States
5,0
3
Zweryfikowana metoda płatności
Członek od lis 26, 2018

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.