AddSystemPauseTimes
Mon 01 January 2018Syntax
AddSystemPauseTimes(StartDay, StartTime, EndDay, EndTime)
Description
Use the AddSystemPauseTimes function to set when pause times occur on your system by adding a row to the system pause-times tables.
This function is used in the PeopleCode for the Message Monitor. Pause times are set up in the Message Monitor.
Parameters
| 
      Field or Control  | 
    
      Definition  | 
   
|---|---|
| StartDay | 
      Specify a number from 0-6. Values are:  | 
   
| 
       Value  | 
     
       Description  | 
    
|---|---|
| 
       0  | 
     
       Sunday  | 
    
| 
       1  | 
     
       Monday  | 
    
| 
       2  | 
     
       Tuesday  | 
    
| 
       3  | 
     
       Wednesday  | 
    
| 
       4  | 
     
       Thursday  | 
    
| 
       5  | 
     
       Friday  | 
    
| 
       6  | 
     
       Saturday  | 
    
| 
      Field or Control  | 
    
      Definition  | 
   
|---|---|
| StartTime | 
      Specify a time, in seconds, since midnight.  | 
   
| EndDay | 
      Specify a number from 0-6. Values are:  | 
   
| 
       Value  | 
     
       Description  | 
    
|---|---|
| 
       0  | 
     
       Sunday  | 
    
| 
       1  | 
     
       Monday  | 
    
| 
       2  | 
     
       Tuesday  | 
    
| 
       3  | 
     
       Wednesday  | 
    
| 
       4  | 
     
       Thursday  | 
    
| 
       5  | 
     
       Friday  | 
    
| 
       6  | 
     
       Saturday  | 
    
| 
      Field or Control  | 
    
      Definition  | 
   
|---|---|
| EndTime | 
      Specify a time, in seconds, since midnight.  | 
   
Returns
A Boolean value: True if the system pause time specified was added, False otherwise.