Announcement

Collapse
No announcement yet.

Change log file directory when running as a scheduled task

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

  • Change log file directory when running as a scheduled task

    Hello, new user here so pardon if this has been answered

    I'm using Hyena as a part of an AD sync process from our HR Management System. There's a process that feeds me a CSV file with attributes that I then import into AD to update the attributes.

    I've created the Active Task, and found that I can execute it at the command line using the "/Task=[file].ini" I was wondering if it's possible to change the directory where the log gets dropped to make it a little easier to pick up. Sure, the directory is fairly predictable but part of me likes having all the related files in the same share for ease of use

  • #2
    This was on our to-do list, but didn't make it into v11.5, scheduled for release May 1. But we might be able to add an option that can be manually entered into the task .ini file, ie LogFileDir=r:\Hyena\HrTask. Let me know if your maintenance is current, as Hyena 11.5 will have a May 1 2015 maintenance cutoff. The .VAL files are also stored in a similar way and would probably also need to be customized.

    Thanks for the input.
    Kevin Stanush
    SystemTools Software Inc.

    Comment


    • #3
      There might be a way to change the log file directory, assuming the account being used for the scheduled job has a registry hive. There is a registry key to store the log file location under:

      HKCU\Software\Adkins Resource\Hyena\Customize

      The value name is "ActiveTaskLogDirectory". (REG_SZ)

      Creating this registry value and setting it to the name of the directory, ie: R:\Hyena\HrTask, will place the log file in that directory. Do NOT place a trailing backslash on the log directory name.

      Alternately, the full path can also be specified for the log file name. If Hyena detects a full path, it will not use the default location, and will place the log file in the directory specified. Remember that when using a scheduled task, any network location must be mapped or use a UNC path.
      Kevin Stanush
      SystemTools Software Inc.

      Comment

      Working...
      X