Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: 'Change Management References' added

...

Related Issues

  • Jira
    serverSOS JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId6dc67751-9d67-34cd-985b-194a8cdc9602
    keyJS-1508

  • Jira
    serverSOS JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId6dc67751-9d67-34cd-985b-194a8cdc9602
    keyJS-809

  • Jira
    serverSOS JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId6dc67751-9d67-34cd-985b-194a8cdc9602
    keyJS-785

The Binaries File

  • jobscheduler.engine-1.9.6.jar

  • jobscheduler.engine-1.9.6.pom

...

  1. Create a folder with the name live in your home folder. Create a simple job in the live folder like this:

    Code Block
    languagexml
    titlehello world job example
    collapsetrue
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <job>
        <script  language="shell">
            <![CDATA[echo Hello World!]]>
        </script>
        <run_time  once="yes"/>
    </job>
  2. Open a console in your home folder and start the JobScheduler with the start.cmd start script.
    If you have configured logging (log4j.properties and path to the properties file in the factory.ini file) then you should see a task log and job log for the sample job like this:

    Code Block
    languagetext
    titletask log
    collapsetrue
    2015-10-07 14:58:45.515+0200 [info]   SCHEDULER-918  state=starting (at=never)
    2015-10-07 14:58:45.516+0200 [info]   SCHEDULER-987  Starting process: "C:\Users\YOUR_USERNAME\AppData\Local\Temp\\sos5051B.cmd"
    2015-10-07 14:58:45.526+0200 [info]    
    2015-10-07 14:58:45.526+0200 [info]   PATH_TO_YOUR_FOLDER>echo Hello World!  
    2015-10-07 14:58:45.526+0200 [info]   Hello World!
    2015-10-07 14:58:45.527+0200 [info]   SCHEDULER-915  Process event
    2015-10-07 14:58:45.556+0200 [info]   SCHEDULER-918  state=closed
    2015-10-07 14:58:45.556+0200 [info]   SCHEDULER-962  Protocol ends in logs/task.HalloWorldExample.log
    Code Block
    languagetext
    titlejob log
    collapsetrue
    2015-10-07 14:58:45.507+0200 [info]   SCHEDULER-893  Job is 'active' now
    2015-10-07 14:58:45.512+0200 [info]   SCHEDULER-930  Task 6114864 started - cause: period_once
    2015-10-07 14:59:45.716+0200 [info]   SCHEDULER-931  state=stopped
    2015-10-07 14:59:45.717+0200 [info]   SCHEDULER-962  Protocol ends in logs/job.HalloWorldExample.log

Change Management References

Jira
serverSOS JIRA
columnstype,key,issuelinks,fixversions,status,priority,summary,updated
maximumIssues20
jqlQuerylabels in (binary-files)
serverId6dc67751-9d67-34cd-985b-194a8cdc9602