Schedulers
Create, update, delete, and query schedulers.
テーブル固有の情報
Select
WHERE 句で任意の条件を使用して、Schedulers テーブルをクエリできます。本製品 はSuiteCRM API を使用して結果をフィルタリングします。
SELECT * FROM Schedulers WHERE [Last Successful Run] > '2017-07-16'
Insert
書き込み可能なカラムを指定して、Scheduler を作成します。
INSERT INTO Schedulers ([Job Name], Interval, [Date Time Start], [Date Time End]) VALUES ('Test Account', '0::0::*::*::*', '2017-06-16', '2017-08-16')
Update
Id を指定して、書き込み可能なScheduler カラムを更新できます。
UPDATE Schedulers SET [Active From] = '09:00', [Active To] = '15:00' WHERE Id = 'Test123'
Delete
Id を指定して、Scheduler を削除します。
DELETE FROM Schedulers WHERE Id = 10003
Columns
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
The unique identifier of the scheduler. |
| ActiveFrom | String | False |
The time the scheduler begins to be active per day. |
| ActiveTo | String | False |
Time the scheduler stops being active per day. |
| AdvancedOptions | Bool | True |
Whether there are advanced options for the interval. |
| CreatedById | String | True |
The Id of the user who created the record. |
| CreatedByName | String | True |
The name of the user who created the record. |
| DateTimeEnd | Datetime | False |
The end date and time. |
| DateTimeStart | Datetime | False |
The start date and time. |
| DateCreated | Datetime | True |
The date the record was created. |
| DateModified | Datetime | True |
The date the record was last modified. |
| Deleted | Bool | False |
The record deletion indicator. |
| ExecuteIfMissed | Bool | False |
Whether the scheduler will catch up. |
| Interval | String | False |
The job interval expressed in standard crontab notation |
| Job | String | False |
The job. |
| JobFunction | String | True |
The job function. |
| JobName | String | False |
The name of the scheduler. |
| JobURL | String | True |
The job URL. |
| LastSuccessfulRun | Datetime | False |
The last run time of the scheduler. |
| ModifiedById | String | True |
The Id of the user who last modified the record. |
| ModifiedByName | String | True |
The name of the user who last modified the record. |
| Status | String | False |
The status of the scheduler. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |