Scheduled Jobs Storage Location

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 6 months, 1 week ago.

  • Author
    Posts
  • #91271

    Devin Garrett
    Participant

    Hi!

    I've been creating scheduled jobs and I am wanting to clarify something in regards to the location that the definition file is stored. It looks like by default the definition for the scheduled job and their output gets stored under the user profile:
    "C:\Users\$username\AppData\Local\Microsoft\Windows\PowerShell\ScheduledJobs"

    Can I move the definition and output directories to a shared location like "c:\ScheduledJobs" or would this be less than optimal? I'm thinking the best option would be to run it using a service account and create the job under said service account. This detracts from the visibility that I'm hoping for though. Any advice would be much appreciated.

    Thanks!

  • #91369

    Don Jones
    Keymaster

    Poking through the source code, I'm not sure you can actually specify a different path.

You must be logged in to reply to this topic.