Closed

Node.js module to trigger Linux Commands

This project received 7 bids from talented freelancers with an average bid price of £19 GBP / hour.

Get free quotes for a project like this
Employer working
Project Budget
£10 - £15 GBP / hour
Total Bids
7
Project Description

Module scope:

To trigger a third party software based on data queried from a Mongo DB. The module should check from the MongoDB at regular interval (this should be configurable) for orders which are in a status of “PDF Ready” and not currently being processed by another thread.

If any order is found in that state, the PDF name, and preflight profile name (please note that if no preflight profile name is found against that particular item, then the profile information should be retrieved from the client config) should be retrieved for that particular item to be parsed in the Linux CLI.

On successful download of this data, the module should create a command line for the Linux CLI which contains the static path to the relevant profile file, the static path to the PDF file to be preflighted and the destination folder path for the processed file.
Once the command has been passed to the Linux CLI and the pdfToolbox engine returned a report xml, the status of the item is updated in the Mongo DB as “print ready”.

A report xml file will need to be processed and certain namespaces within the xml ingested back into the Mongo database so that we can enable some reporting services to the end user.

Sample of a Linux CLI command to be triggered:

./pdfToolbox /”root/preflightprofiles/[url removed, login to view]” /”root/dropbox/PDF/[url removed, login to view]” –report –outputfolder /”root/dropbox/preflighted/site1” –suffix “pref”
This should be written in Javascript and use [url removed, login to view], we need to have the ability to multithread up to 8 instances of the pdfToolbox engine.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online