Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can set the folder for temporary files by adding the variable TMP to the JobScheduler environment, see How to add environment variables for all jobs. Consider that jobs will use the folder for temporary files as well.

Instructions for Unix

  • rename ./user_bin/jobscheduler_environment_variables.sh-example to ./user_bin/jobscheduler_environment_variables.sh
  • edit ./user_bin/jobscheduler_environment_variables.sh:

    Code Block
    languagebash
    titleSample for Unix
      TMP=/path/to/tmp/folder
      export TMP
    

...

  • make sure that the JobScheduler Madster account has read, write and execute permissions for \path\to\tmp\folder
  • execute the following sequence of commands
    • .\bin\jobscheduler.cmd stop
    • .\bin\jobscheduler.cmd remove

    • .\bin\jobscheduler.cmd install
      • After installation optionally assign an account to the Windows service and modify the start type, e.g. to automated start.
    • .\bin\jobscheduler.cmd start_service

JobScheduler Agent

You can set the folder for temporary files by adding the variable TMP to the JobScheduler environment. Consider that jobs will use the folder for temporary files as well.

Instructions for Unix

  • rename ./bin/jobscheduler_agent_instance.sh-example to ./bin/jobscheduler_agent_port.sh where port is the numeric port that the Agent is listening for.
  • edit edit the JAVA_OPTIONS in ./bin/jobscheduler_agent_port.sh:

    Code Block
    languagebash
    titleSample for Unix
      TMPJAVA_OPTIONS="-Djava.io.tmpdir=/path/to/tmp/folder"
      export TMP
    
  • make sure that the JobScheduler Agent account has read, write and execute permissions for /path/to/tmp/folder
  • execute the following sequence of commands for an Agent that is listening for port 4445:
    • ./bin/jobscheduler_agent_4445.sh stop
    • ./bin/jobscheduler_agent_4445.sh start_service

Instructions for Windows

  • rename .\bin\jobscheduler_agent_instance.cmd-example to .\bin\jobscheduler_agent_port.cmd where port is the numeric port that the Agent is listening for
  • edit .\bin\jobscheduler_agent_port.cmd:

    Code Block
    languagebash
    titleSample for Windows
      set TMPJAVA_OPTIONS=-Djava.io.tmpdir=\path\to\tmp\folder
  • make sure that the JobScheduler Agent account has read, write and execute permissions for \path\to\tmp\folder
  • execute the following sequence of commands for an Agent that is listening for port 4445:
    • .\bin\jobscheduler_agent_4445.cmd stop
    • .\bin\jobscheduler_agent_4445.cmd start_service

...