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 |
可执行的作业。 |
查看更多:华为GaussDB 200 系统视图
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。