Skip to end of metadata
Go to start of metadata

Telnet Commands Related to the SAP NetWeaver Scheduler for Java

Applies to:
SAP NetWeaver Composition Environment 7.1 and higher

The SAP NetWeaver Scheduler service provides commands for administering and monitoring the Scheduler resources in a server.
To use these commands, enable the SCHEDULER Group with ADD SCHEDULER.
To show the help information about the available commands in the scheduler group, type one of the following at the Telnet command prompt:

  • scheduler -h
  • scheduler -?
  • man scheduler

scheduler_check
Performs checks related to the health of the scheduler.
Usage: scheduler_check <-[j]obs | -[t]asks>
-[j]obs - Checks if there are jobs in status unknown, error or starting. If a job is in starting, it will also
be checked if there are still jms-messages undelivered or the corresponding applications are not started
-[t]asks - Checks if there are tasks which are implicitly set to
status hold after several failed jobs of this task

scheduler_jms
Lists info for the jms-messages in the jms-queue for the scheduler.
Usage: scheduler_jms <-[l]istMessages>
-[l]istMessages - Lists the jms-messages in the jms-queue for the scheduler

scheduler_job
Listing jobs.
Usage: scheduler_job -[l]ist [[s]tarting | c[o]mpleted | [e]rror [u]nknown | [c]ancelled]
<-[t]askId taskId>
<-[d]etail jobId>
<-[j]obLog jobId>
<-[n]ame jobName>
<-d[e]f [[u]undeployed | -[n]ame name]>

[l]ist
Dumps out all jobs of JobStatus running (default)
[s]tarting - Dumps out all jobs of JobStatus starting
c[o]mpleted - completed
[e]rror - error
[u]nknown - unknown
[c]ancelled - cancelled

-[t]askId <taskId> - Lists the jobs for a given taskId

-[d]etail <jobId> - Lists the job-details for a given jobId

-[j]obLog <jobId> - Lists the job-log for a given jobId

-[n]ame <jobName> - Dumps out all jobs for a given job-name

-d[e]f - Lists all active job-definitions (default)

[u]ndeployed - Lists all undeployed job-definitions

[n]ame <name>- Lists the job-definition for a given job-definition name

scheduler_task
Command for modifying/listing tasks.
Usage: scheduler_task <-[l]ist> [[a]ctive | [h]old | [f]inished]
<-[c]ancel | -h[o]ld | -[r]elease taskId>
<-[s]tatus> [detail]
<-[p]riorityQueue>
<-[d]etail taskId>
<-[f]ireTimes [t1 t2 size]>

-[l]ist - Dumps out all tasks of TaskStatus active and hold (default)
[a]ctive - Dumps out all tasks of TaskStatus active
[h]old - Dumps out all tasks of TaskStatus hold
[f]inished - Dumps out all tasks of TaskStatus finished

-[c]ancel <taskId> - Cancels a task (hold or active) for a given taskId
-h[o]ld <taskId> - Holds an active task for a given taskId
-[r]elease <taskId> - Releases a held task for a given taskId

-[s]tatus [detail] - Lists all status descriptions (default). With a given status
value the exact status string will be displayed.

-[p]riorityQueue - Lists the content of the task queue