Announcement

Collapse
No announcement yet.

Exporter Pro, command line, Scheduled Tasks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exporter Pro, command line, Scheduled Tasks

    I am able to run the exporter pro from command line with syntax:

    "C:\Program Files\Hyena\stexport.exe" /CONFIG="C:\Program Files\Hyena\HYENA_EXPORT.INI"

    When I stick the same command in a scheduled task (same credentials), the stexport.exe shows up Task Manager as executing but there is no output. Tried this on two different computers with similar results. To end the process, I end the scheduled task and end process (via Task Manager) stexport.exe.

    I was wondering if you have any suggestions.

  • #2
    Re: Exporter Pro, command line, Scheduled Tasks

    How long does the task take if you run it interactively ? One thing that might be happening is if you use an account that is different from your interactive one, it might be asking for a license key, which would effectively stop the process. The workaround is to just log in interactively, run it from that account, see if that is the problem.
    Kevin Stanush
    SystemTools Software Inc.

    Comment


    • #3
      Re: Exporter Pro, command line, Scheduled Tasks

      Thanks for the quick reply. Yes, I use the exact same account (with Domain Admin privileges) when running interactively and when using scheduled tasks. The one that always fail is the scheduled tasks.

      I wrapped the stexport.exe command in a batch file:
      =============
      echo helloworld>c:\test.txt
      c:
      cd"program files\hyena"
      "c:\program files\hyena\stexport.exe" /CONFIG="C:\program files\hyena\HYENA_EXPORT.INI"
      ==============

      From the batch file, file test.txt is always created; I can see stexport.exe in the process list.

      The stexport.exe process runs forever until you end the task.

      Thank you

      Comment


      • #4
        Re: Exporter Pro, command line, Scheduled Tasks

        Does it matter what is being exported, ie if you try to export services or drive space, does it also hang like that ?

        I'll do some experimenting to see if I can reproduce it.
        Kevin Stanush
        SystemTools Software Inc.

        Comment


        • #5
          Re: Exporter Pro, command line, Scheduled Tasks

          We are sorry for the delay on this. Were you ever able to get this to work? The only issues we can come up with would be if it is asking for registration infomation as stated above, or if any of the configuration files are not being found. Since you are changing directory into the Hyena directory that shouldn't be an issue, but possibly something to check (ie put full paths in the ini file for all config files.)

          Comment


          • #6
            Re: Exporter Pro, command line, Scheduled Tasks

            I have it working now.

            I logged in the console with the account running the scheduled task, launch Hyena 8.1, enter the registration info and exit Hyena.

            The scheduled task now runs perfectly.

            You are correct, it looks like stexport.exe cannot run until it has a valid license info.

            Thank you for the tip!

            Comment

            Working...
            X