Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Unix autosys的时间依赖性_Unix_Job Scheduling_Autosys - Fatal编程技术网

Unix autosys的时间依赖性

Unix autosys的时间依赖性,unix,job-scheduling,autosys,Unix,Job Scheduling,Autosys,嗨,我有以下关于Autosys的JIL。我只想在作业成功后的周六运行此作业axm\u c\u hk\u purge\u files\u axiom。我不想让这份工作依赖时间。但如果我不提及开始时间:这会产生错误。我不想在这里提及任何时间。这就产生了错误。如何从此作业中删除时间依赖项。如果我删除开始时间标记或在这两种情况下都将其设置为null,则会出现错误 insert_job: axm_c_hk_restart_appsvr job_type: CMD box_name: axm_b_usreg

嗨,我有以下关于Autosys的JIL。我只想在作业成功后的周六运行此作业
axm\u c\u hk\u purge\u files\u axiom
。我不想让这份工作依赖时间。但如果我不提及
开始时间:
这会产生错误。我不想在这里提及任何时间。这就产生了错误。如何从此作业中删除时间依赖项。如果我删除
开始时间
标记或在这两种情况下都将其设置为null,则会出现错误

insert_job: axm_c_hk_restart_appsvr job_type: CMD
box_name: axm_b_usreg_wkly_jobs
command: /apps/axiom_app/axiom7/autosys_start_axiom_srvr.ksh
machine: rrany-live.barcapint.com
owner: regnyprd
permission:
date_conditions: 1
days_of_week: sa
start_times: "20:15"
condition: s(axm_c_hk_purge_files_axiom)
description: "Command Job to stop AXIOM 7.8 application server"
std_out_file: /tmp/axm_c_hk_restart_appsvr.out
std_err_file: /tmp/axm_c_hk_restart_appsvr.err
max_run_alarm: 15
alarm_if_fail: 1
profile: /home/regnyprd/.bourne.profile.r11.3
timezone: NewYork 

您能帮我做同样的事情吗。

如果您指定了一周中的几天,您需要有开始时间。您可以使用run_日历四处走动。如果您确实使用run_calendar,您可能希望为您的情况添加一个回溯,以便它不会在午夜触发,而是在作业完成后触发。

将此作业保存在一个框中。 将箱子的启动条件设置为星期六和00:01小时,期限运行时间设置为24小时

根据需要更改时间和终止时间

对于作业,不定义任何开始时间,仅定义上一个作业的成功时间

在星期六,如果前一个作业成功,则该作业将触发,成功后,方框将完成

否则,该框将被终止

而在其他日子,即使前一个作业更改其状态,此作业也不会运行


请相应地映射方框开始时间和前置作业。

是。.谢谢Piyus