Versions Compared

Key

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

...

Restart-JobSchedulerMaster [[-Action] <String>] [-Cluster] [[-MasterHost] <String>] [[-MasterPort] <Int32>] [[-Timeout] <Int32>] [-Service] [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [<CommonParameters>]

DESCRIPTION

JobScheduler Master is restarted. Depending on its current operating mode the MasterJobScheduler
is restarted in service mode or in dialog mode:

* Service Mode: the Windows service of the JobScheduler Master is restarted.
* Dialog Mode: the JobScheduler Master is restarted in its current user context.

...

Required?false
Position?named
Default valueFalse
Accept pipeline input?false
Accept wildcard characters?false

MasterHost

...

...

MasterPort

...

Required?false
Position?3
Default value0
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

Timeout

-Timeout <Int32>
A timeout is applied for the operation -Action "terminate" that affects running tasks:

* For shell jobs
** in a Unix environment the task is sent a SIGTERM signal and - in case of the timeout parameter being used -
after expiration of the timeout a SIGKILL signal is sent.
** in a Windows environment the task is killed immediately.
* For API jobs
** the method spooler_process() of the respective job will not be called by JobScheduler any more.
** the task is expected to terminate normally after completion of its spooler_process() method.

Required?false
Position?42
Default value0
Accept pipeline input?false
Accept wildcard characters?false

...

Required?false
Position?named
Default valueFalse
Accept pipeline input?false
Accept wildcard characters?false

AuditComment

...

Required?false
Position?5
Default valueAccept pipeline input?true (ByPropertyName)Accept wildcard characters?false

AuditTimeSpent

...

...

Required?false
Position?6
Default value0
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

Required?false
Position?7
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

PS > Restart-JobSchedulerMaster

Terminates and restarts Restarts the JobScheduler Master. Any running tasks can complete before the Master will restart.

-------------------------- EXAMPLE 2 --------------------------

...