首页 > 数据库 > > 系统视图-USER_JOBS
USER_JOBS视图为当前用户所属定时任务的详细信息。
名字 | 类型 | 描述 |
|---|---|---|
job | int4 | 作业ID。 |
log_user | name not null | 创建者的UserName。 |
priv_user | name not null | 作业执行者的UserName。 |
dbname | name not null | 作业创建数据库名字。 |
start_date | timestamp without time zone | 作业的开始时间。 |
start_suc | text | 作业成功执行的开始时间。 |
last_date | timestamp without time zone | 上次运行开始时间。 |
last_suc | text | 上次成功运行的开始时间。 |
this_date | timestamp without time zone | 正在运行任务的开始时间。 |
this suc | text | 正在运行任务成功的开始时间。 |
next_date | timestamp without time zone | 任务下次执行时间。 |
next suc | text | 任务下次成功执行时间。 |
broken | text | 如果任务状态为破,则为'y',否则为'n'。 |
status | char | 本步骤的执行状态,取值范围:('r', 's', 'f', 'd'),默认为'r',取值含义: Status of job step:
|
interval | text | 用来计算下次运行时间的时间表达式,如果为null则表示定时任务只执行一次。 |
failures | smallint | 失败计数,作业连续执行失败16次,不再继续执行。 |
what | text | 可执行的作业。 |
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69959250/viewspace-3158369/ ,如需转载,请注明出处,否则将追究法律责任。