Reference documentation and code samples for the Google Cloud Chronicle Client class ScheduledAnacronTask.
Information about a scheduled anacron task.
Generated from protobuf message google.backstory.ScheduledAnacronTask
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ period |
string
Anacrontab period field. Value is an integer in days, or a string like "@daily", "@weekly", or "@monthly". |
↳ delay_minutes |
int|string
The delay in minutes before the job is run. |
↳ job_id |
string
The unique identifier of the job. |
↳ path |
string
The PATH environment variable defined in the anacrontab file. |
↳ source_line |
string
The original source line from the anacrontab file. |
getPeriod
Anacrontab period field. Value is an integer in days, or a string like "@daily", "@weekly", or "@monthly".
| Returns | |
|---|---|
| Type | Description |
string |
|
setPeriod
Anacrontab period field. Value is an integer in days, or a string like "@daily", "@weekly", or "@monthly".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDelayMinutes
The delay in minutes before the job is run.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setDelayMinutes
The delay in minutes before the job is run.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getJobId
The unique identifier of the job.
| Returns | |
|---|---|
| Type | Description |
string |
|
setJobId
The unique identifier of the job.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPath
The PATH environment variable defined in the anacrontab file.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPath
The PATH environment variable defined in the anacrontab file.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceLine
The original source line from the anacrontab file.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSourceLine
The original source line from the anacrontab file.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|