Ditutup

loop script in python and bash shell script

this is a request for two separate scripts that perform the same function.

the first is to be developed in python and the second in ksh compatible shell

script. Minimum scripts compatibility python version 2.6.1 and ksh shell.

both of the scripts should have the same functions and features.

the required features are:

- the scripts will be running on linux or freebsd OS

- define the work path: work at a given directory path, for example: /foo/bar/my/app/data.

the path in question has directories that are named in date format, for example: /foo/bar/my/app/data/201610

- the folder name string (the date format) may vary, additional information will be provided.

- the work path may contain other folders with different names.

- the script should identify the 3 latest directories, for example:

/foo/bar/my/app/data/201610

/foo/bar/my/app/data/201609

/foo/bar/my/app/data/201608

for each of the three identified directories, a set of commands will be issued. for example:

- "ls -l"

- "du"

- "ls -l > [url removed, login to view]"

these commands to be executed, should be executed from the shell so python can no execute own functions but has to leverage the shell.

- the script should identify the 12 latest directories, for example:

/foo/bar/my/app/data/201610

/foo/bar/my/app/data/201609

/foo/bar/my/app/data/201607

/foo/bar/my/app/data/201606

/foo/bar/my/app/data/201605

/foo/bar/my/app/data/201604

/foo/bar/my/app/data/201603

/foo/bar/my/app/data/201602

/foo/bar/my/app/data/201601

/foo/bar/my/app/data/201512

/foo/bar/my/app/data/201511

/foo/bar/my/app/data/201510

for each of the identified directories, a set of commands will be issued. for example:

- "ls -l"

- "du"

- "ls -l > [url removed, login to view]"

these commands to be executed, should be executed from the shell so python can no execute own functions but has to leverage the shell.

- all events and actions performed by the scripts should be logged

- in an event of failure at any stage, the scripts should send and email to specified email address with the failure and a copy of the log that the script has generated as an attachement.

Keahlian Python, Shell Script, Perancangan Perangkat Lunak

Lihat lebih lanjut: bash python script convert, bash python loop, python loop script, software write mq4, software write chip epson, useful software write book, software write web specs, software write edid, software write websites idea, software write book images, software write books, software write protection, images loop script, free software write book, mysql loop script, software write book, scrolling image loop script, script votes automatically different, bash ftp upload script, shell bash keywords, php loop script, simple image loop script, python auction script, python csv script, software write technical manual

Tentang Pemberi kerja:
( 0 ulasan ) Finland

ID Proyek: #11731274

16 freelancer menawar pada rata-rata €38 untuk pekerjaan ini

€60 EUR dalam 1 hari
(47 Ulasan)
5.1
cracken

I have strong background in unix linux environment and can take good care of your project on time and with quality. Let me know the best of your time to discuss so we can move forward to the next level.

€29 EUR dalam 0 hari
(27 Ulasan)
5.0
mohamadserag

Hello there, I'd like to know few details about the project if you're considering me, thanks and good luck with the project. Note: I can ONLY provide a python script.

€44 EUR dalam 2 hari
(16 Ulasan)
4.3
VnBestSolutions

Dear Sir. We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! Lo Lagi

€87 EUR dalam 1 hari
(10 Ulasan)
4.1
skriyaz09

I have been working as a software developer for more than one and half year on python scripting and shell scripting

€29 EUR dalam 3 hari
(5 Ulasan)
2.8
Akinava

I did like that. I have a lot of experience. I think I am an excellent candidate for the project. Best regards Andrey.

€22 EUR dalam 1 hari
(4 Ulasan)
2.7
Nitla

A proposal has not yet been provided

€111 EUR dalam 3 hari
(1 Ulasan)
2.2
vavy

Hello! I can write such script for you. For Pyton-2.7.12.

€30 EUR dalam 7 hari
(3 Ulasan)
2.5
iticy

ITICY Technologies is an IT Service, leveraging company specializing in GNU/Linux and open-source. AT ITICY Technologies we see our customers as a part of the solution rather than part of the problem. We have all the n Lagi

€23 EUR dalam 1 hari
(1 Ulasan)
2.2
agastya21

two separate scripts that perform the same function. the first is to be developed in python and the second in ksh compatible shell script. Minimum scripts compatibility python version 2.6.1 and ksh shell. both Lagi

€23 EUR dalam 1 hari
(2 Ulasan)
1.8
CoolTechie07

Hi, I can do this but pl clarify few things. 1. "so python can no execute own functions". What does 'no' mean? 2. If there is no connection between , how would you know whether commands failed? 3. At one place yo Lagi

€29 EUR dalam 2 hari
(1 Ulasan)
1.8
adarshdec23

Before getting to the proposal, I'll outline the requirements as I've understood them. You need : 1) A ksh script 2) A Python script Both of these have the same functionality and should work independent of Lagi

€25 EUR dalam 2 hari
(0 Ulasan)
0.0
pheonixsolutions

Hello, I understand you want to create a shell script & python script to calculate the disk usage of a directory. Based on the scenario which you described earlier, I have created a small shell script which you coul Lagi

€24 EUR dalam 1 hari
(0 Ulasan)
0.0
€23 EUR dalam 1 hari
(0 Ulasan)
0.0
pbljoaquin

I am a full time backend Python Developer in my day work. :-)

€19 EUR dalam 1 hari
(0 Ulasan)
0.0
santoshlashkare

A proposal has not yet been provided

€29 EUR dalam 5 hari
(0 Ulasan)
0.0