2 Replies Latest reply on Nov 25, 2014 5:43 AM by sml1538

    Check the Next Inventory Scan Date & Time on a Client?

    Apprentice

      Is there a way to find out the next scheduled inventory scan date and time on a client?  Our settings have clients scanning once per day with a one hour randomization.  I'd like to look at some file or log on a client and figure out when the next time that it'll get run.

        • 1. Re: Check the Next Inventory Scan Date & Time on a Client?
          JoeDrwiega SupportEmployee

          Here is the script I used to find the info for my workstations:

          =======================================

          @ECHO ON

          set CWD=%~d0%~p0

          set LDC=C:\Program Files\LANDesk\LDClient

          set LDC64=C:\Program Files (x86)\LANDesk\LDClient

          cls

          C:

           

          if %PROCESSOR_ARCHITECTURE% ==AMD64 (

            ECHO Run Local Scheduled Scan Log x64

            CD "%LDC64%"

            LocalSch.exe /tasks >> C:\Windows\TEMP\SCHEDULEDSCANS.LOG

            ECHO %ERRORLEVEL%

            sdclient.exe /msg=ScheduledScan64_ERRORLEVEL_is_%ERRORLEVEL%

          ) else (

            ECHO Run Local Scheduled Scan Log x86

            CD "%LDC%"

            LocalSch.exe /tasks >> C:\Windows\TEMP\SCHEDULEDSCANS.LOG

            ECHO %ERRORLEVEL%

            sdclient.exe /msg=ScheduledScan32_ERRORLEVEL_is_%ERRORLEVEL%

            )

           

          EXIT /B %ERRORLEVEL%

          =============================

           

          Then I just looked at the log it created in C:\Windows\TEMP\SCHEDULEDSCANS.LOG.

          • 2. Re: Check the Next Inventory Scan Date & Time on a Client?
            Apprentice

            That seems to work, thank you.

             

            I also recently found out that this info is available in the inventory of a client.  It's under 'LANDESK Management > Local Scheduler > Scheduled Tasks'.