2

我在哪里可以找到 Autosys JIL 的所有命令列表。什么是官方网站,我可以在其中获得带有示例的 Autosys 命令的完整列表?

例如,我想每周每半小时运行一次 shell 脚本。

4

3 回答 3

3

用于start_mins指定运行作业的特定分钟数。

例如

insert_job: my-job-for-specific-mins
job_type: c
command: date
machine: my-host
permission: mx
n_retrys: 0
date_conditions: 1
days_of_week: mo,tu,we,th,fr
start_mins: "05,35"
description: "Test specific mins of hour"
std_out_file: /var/tmp/job-name.out
std_err_file: /var/tmp/job-name.out
alarm_if_fail: 1
timezone: London

指定的作业将在每小时过去的 5 分钟和 35 分钟运行。

于 2013-07-03T09:20:41.920 回答
2

将开始时间指定为 0、30,这意味着每 30 分钟和一周中的每一天,就像您希望作业每天运行一样

/* ----------------- template ----------------- */

insert_job: template job_type: c 
box_name: box1
command: ls -l
machine: localhost
owner: lyota01@TANT-A01
permission: gx,ge,wx,we,mx,me
date_conditions: 1
days_of_week: all
start_times: 0,30
于 2013-03-21T05:38:28.387 回答
1

链接到 Autosys jil 和其他命令功能的命令行列表 http://supportconnectw.ca.com/public/autosys/infodocs/autosys_cheatsheet.asp

如需安排说明和培训课程,请在 support.ca.com 上向 CA 注册并提供您的站点许可信息。

于 2012-12-17T12:50:11.773 回答