Powershell: Get job queue log entries – ALL companies

  • Powershell: Get job queue log entries – ALL companies

    Posted by DSC Communities on December 21, 2018 at 4:00 am
    • Henrik Jensen

      Member

      December 21, 2018 at 4:00 AM

      Does anybody do this….

      I have 50 companies, and I need to get daily status of the “Update currency Exchange rates” has status “Succes” or not.

      Can this be done with powershell ?

      ——————————
      Henrik Jensen
      IT Chief
      Ocean Prawns A/S
      ——————————

    • Saurav Dhyani

      Member

      December 21, 2018 at 3:02 PM

      Hi,

      I doubt that it can be done via PowerShell but if you are using NAV 2017 or higher you can use task scheduler to achieve similar results.

      You can create a task via code in NAV/BC and then you can decide the output method in code. It can be an e-mail, a file or any other way you can think of.

      How to use task scheduler –Ā https://docs.microsoft.com/en-us/dynamics-nav/task-scheduler

      ——————————
      Saurav Dhyani
      ArcherPoint Inc.
      Duluth
      Blog – https://saurav-nav.blogspot.com
      ——————————
      ——————————————-

    • Henrik Jensen

      Member

      December 27, 2018 at 2:42 AM

      Thanks.

      I build a report, that get status from all companies, the last 7 days.

      /Henrik

      ——————————
      Henrik Jensen
      IT Chief
      Ocean Prawns A/S
      ——————————
      ——————————————-

    • Mathew Ealy

      Member

      December 28, 2018 at 8:10 AM

      You could do this with powershell if you call sql from shell. Then feed the data to a simple html page to show green or red per company. I could see something like that being useful to manage 50 companies status for a number of different statuses.

      ——————————
      Mathew Ealy
      Nav Support Specialist
      Rentokil N. America
      Reading PA
      ——————————
      ——————————————-

    DSC Communities replied 6 years, 9 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Powershell: Get job queue log entries – ALL companies’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!