Versions Compared

Key

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

...

  • The JobScheduler Universal Agent is operated with a Java Virtual Machine starting from version 1.8. The Synology NAS should support
    • Java SE Embedded 8 (JRE) or a newer version.
  • The JobScheduler Universal Agent is pure Java, therefore no further requirements concerning operating systems system or architecture apply.

Installing Java and the JobScheduler Universal Agent

Running the JobScheduler Universal Agent

Starting the Universal Agent manually

  • The Agent can be started manually by running the start script from the bin folder sub-directory:
    ./jobschduler_agent.sh start
  • The Agent is stopped with accordingly with
    ./jobscheduler_agent.sh stop

...

  • Copy the start script jobscheduler_agent.sh to /usr/syno/etc/rc.d
    • A different target directory might be used depending on the version of the Synology NAS.
  • Prefix the name of the start script like this S99jobscheduler_agent.sh
    • This will make the Universal Agent 
      • start after other services are up and running. 
      • terminate before other services are stopped.
  • Check that the the start script is executable.
  • Set the following environment variables in the start script:
    • SCHEDULER_HOME
      • This variable points to the installation directory of the Universal Agent.
      • This variable is not required when running the start script from the bin
    • sub-directory
      • folder of the Universal Agent installation directory.
    • JAVA_HOME
      • This variable points to the Java installation directory.
      • This variable is required should Java
    • might
      • not be available in the PATH when
    • daemons are
      • the daemon is started.

To check if the Universal Agent is up and running

  • In your browser open the URL http://<diskstation>:4445//jobscheduler/agent/api/ 
    • <diskstation>: is the hostname of your Synology NAS.
    • 4445: is the port that the Universal Agent is listening for. The port number can be freely assigned when starting the Universal Agent.
  • In response you should receive a page with text information on about the Universal Agent release, start time, running tasks etc.

Should the Universal Agent not be started then check the log file from the ./logs folder of the installation directory.