ScheduledJob

View as Markdown

Struct for a scheduled job.

Full nameMFiles.ScheduledJob
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
idint321Job ID.
namestring2Job name.
is_enabledbool3If true, the job is enabled (runs according to the specified schedule).
schedulebytes4The schedule of this job (a serialized Task object of Task Scheduler).
typeJobType5Job 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).
dataJobDataUnion6The job details as a union.
is_temporarybool7True if the job is temporary and thus executed only once. Temporary jobs are not scheduled so their run info should not be interpreted.

Used by methods

Used in fields