IRPCScheduledJobsAdmin.GetScheduledJobs

View as Markdown

Administration API / specialized admin session idempotent

Gets the scheduled jobs of the server (server-level session) or of the vault (vault session), with their run state.

ServiceScheduled jobs MFiles.IRPCScheduledJobsAdmin
gRPC method/MFiles.IRPCScheduledJobsAdmin/GetScheduledJobs
HTTP (mf-http-grpc)POST /grpc/v1/get-scheduled-jobs
RequestGetScheduledJobsRequest
ResponseGetScheduledJobsResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: GetScheduledJobsRequest

No fields.

Response: GetScheduledJobsResponse

A structure that specifies the response type for the corresponding method.

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
jobs[]repeated ScheduledJobThe scheduled jobs.
jobs[].idint32Job ID.
jobs[].namestringJob name.
jobs[].is_enabledboolIf true, the job is enabled (runs according to the specified schedule).
jobs[].schedulebytesThe schedule of this job (a serialized Task object of Task Scheduler).
jobs[].typeJobTypeJob type.Values: JOB_TYPE_UNINITIALIZED (0), JOB_TYPE_BACKUP (1), JOB_TYPE_RESTORE (2), JOB_TYPE_COPY_VAULT (3), JOB_TYPE_VERIFY_VAULT (4), JOB_TYPE_ARCHIVE_OBJECTS (5), JOB_TYPE_ARCHIVE_OLD_VERSIONS (6), JOB_TYPE_RESTORE_FROM_ARCHIVE (7), JOB_TYPE_OPTIMIZE_VAULT (8), JOB_TYPE_RECALCULATE_PROPERTY (9), JOB_TYPE_MIGRATE_VAULT (10), JOB_TYPE_ENCRYPT_FILE_DATA (11).
jobs[].dataJobDataUnionThe job details as a union.
jobs[].data.backupBackupJob (oneof data)Backup job.
jobs[].data.restoreRestoreJob (oneof data)Restore job.
jobs[].data.copy_vaultCopyVaultJob (oneof data)Vault copying job.
jobs[].data.verify_vaultVerifyVaultJob (oneof data)Vault verifying job.
jobs[].data.archive_objectsArchiveDocsJob (oneof data)Archiving documents job.
jobs[].data.archive_old_versionsArchiveOldVersionsJob (oneof data)Archiving old document versions job.
jobs[].data.restore_from_archiveRestoreFromArchiveJob (oneof data)Restoring documents from archive job.
jobs[].data.optimize_vaultOptimizeVaultJob (oneof data)Optimize the vault.
jobs[].data.recalculate_propertyRecalculateJob (oneof data)Recalculate a property.
jobs[].data.migrate_vaultMigrateVaultJob (oneof data)Vault migration job.
jobs[].data.encrypt_file_dataEncryptFileDataJob (oneof data)Vault file data encryption job.
jobs[].is_temporaryboolTrue if the job is temporary and thus executed only once. Temporary jobs are not scheduled so their run info should not be interpreted.
run_infos[]repeated ScheduledJobRunInfoThe run state of each job, at the same index as in jobs.
run_infos[].is_runningboolTrue if the job is currently running.
run_infos[].next_run_utcgoogle.protobuf.TimestampThe next time the job will run. Zero to indicate no next run time.
run_infos[].last_run_utcgoogle.protobuf.TimestampThe last time the job ran. Zero to indicate that the job has never run (or is still running for the first time).
run_infos[].last_run_succeededboolTrue if the last run at ftLastRun was successful, false otherwise.
run_infos[].last_run_errorsstringError string from the last run (if any).
run_infos[].last_run_cancelledboolTrue if the job is cancelled.
run_infos[].current_stepint32-1 or a current job step. 0 indicates the beginning. When positive, value depends on the underlying job that is being executed. Steps are numbered sequentially from 1 to forward.
run_infos[].curent_step_completionint32-1 or the completion percent of a current job. This is always an estimate.
run_infos[].outputScheduledJobOutputInfoThe output information on the job. Available only when the job is not running (e.g. bRunning and is false).
run_infos[].output.idint32Job ID.
run_infos[].output.messagestringGeneral output info message.
run_infos[].output.typeJobTypeJob type.Values: JOB_TYPE_UNINITIALIZED (0), JOB_TYPE_BACKUP (1), JOB_TYPE_RESTORE (2), JOB_TYPE_COPY_VAULT (3), JOB_TYPE_VERIFY_VAULT (4), JOB_TYPE_ARCHIVE_OBJECTS (5), JOB_TYPE_ARCHIVE_OLD_VERSIONS (6), JOB_TYPE_RESTORE_FROM_ARCHIVE (7), JOB_TYPE_OPTIMIZE_VAULT (8), JOB_TYPE_RECALCULATE_PROPERTY (9), JOB_TYPE_MIGRATE_VAULT (10), JOB_TYPE_ENCRYPT_FILE_DATA (11).
run_infos[].output.dataJobOutputInfoDataUnionThe job output info details as a union.