PowerShell script(s) -- Contest

  • Hali: Closed
  • Zawadi: $140
  • Wasilisho Zilizopokelewa: 3
  • Mshindi: vishaakm

Maelezo ya Shindano

I need a script or a set of scripts that will convert a folder of JSON formatted text files into one CSV (with text qualifiers) file. The JSON file will contain a web url pointing to a PDF file on the internet. The script will need to download the file and save to the same directory as the csv file. The file will contain a “sheet” and “return envelope” field and the outgoing csv file will need to be sorted by sheet count then return envelope value. Include the sourceFilename in csv as a new field as well.

Also, two more text files will need be exported. First column is "resource_id" the source filename and "received_date" is current date time in UTC in ISO 8601 format: 2017-09-05T17:47:53Z (YYYY-MM-DDThh:mm:ssZ).

And one more with source file, current date time + 2 business days, and one value from the source file (resource mail type)

Error handling, emailing and logging are expected. An external config file will be needed to define the input and output oaths, and other other script variables

Ujuzi unaopendekezwa

Maoni ya Muajiri

“Developer was great to work with, understood the request quickly and was able to provide a result that matched expectations.”

Picha ya Profaili atpi, United States.

Wasilisho kuu kwenye hili shindano

Angalia wasilisho zaidi

Bodi ya Ufafanuzi ya Umma

  • TraciY
    TraciY
    • Miaka 4 iliyopita

    I also updated my script to have 24-hour clock in file name "batch_yyyymmdd_hh" instead.

    • Miaka 4 iliyopita
  • TraciY
    TraciY
    • Miaka 4 iliyopita

    I have updated my script file to add 2 business days instead of 2 calendar days for ship_date.

    • Miaka 4 iliyopita
  • atpi
    Mwenye Shindano
    • Miaka 4 iliyopita

    also, for filenames, can you make it batchID.csv (for json file converstion)
    batchID should be "batch_yyyymmdd_hh"
    the 2 column file should be named: Received_${CurrentDate}.csv
    and the other one: Completed_${CurrentDate}.csv

    • Miaka 4 iliyopita
    1. vishaakm
      vishaakm
      • Miaka 4 iliyopita

      Yup Completed

      • Miaka 4 iliyopita
  • vishaakm
    vishaakm
    • Miaka 4 iliyopita

    And one more with source file, current date time + 2 business days, and one value from the source file (resource mail type)

    Can Describe this again please [ I assumed it as 3 cloumns SourcefileName,Current date + 2 and the 3rd column i didnt understand ].

    I have completed all the other Tasks

    • Miaka 4 iliyopita
    1. atpi
      Mwenye Shindano
      • Miaka 4 iliyopita

      it's a column called "ship_date" and it the value will be current date time + 2 business days.. For example if script was executed at 8am on 8/20/19, then the value will be 8am on 8/22/19

      • Miaka 4 iliyopita
    2. vishaakm
      vishaakm
      • Miaka 4 iliyopita

      ok i ll update it in my script

      I have posted my entry

      • Miaka 4 iliyopita
  • AhmadSameer
    AhmadSameer
    • Miaka 4 iliyopita

    Hello there, I'm interested..

    #increaseprize

    • Miaka 4 iliyopita

Onyesha maoni zaidi

Jinsi ya kuanza kwa kutumia mashindano

  • Chapisha Shindano Lako

    Chapisha Shindano Lako Haraka na rahisi

  • Pokea wasilisho nyingi

    Pokea Wasilisho Nyingi Kutoka kote ulimwenguni

  • Tuza wasilisho bora zaidi

    Tuza wasilisho bora zaidi Pakua faili - Rahisi!

Tuma Shindano Sasa ama Jiunge nasi Leo!