Autosys每月工作计划

发布于 2024-12-02 17:39:57 字数 152 浏览 2 评论 0原文

我正在尝试在 Autosys 中安排一项作业,并且希望该作业每月运行一次。比如说每个月的第五天。您能帮助我们如何在 Autosys 中进行配置吗?

我做了一些研究,发现我们需要在 Autosys 中创建日历。有人可以帮助我们如何在 autosys 中创建和配置这样的日历吗?

I am trying to schedule a Job in Autosys and I would like this job to run once a month. Say, 5th day of every month. Could you please help how we can configure this in Autosys?

I did some research and came to know that we need to create a calendar in Autosys. Could someone please help how we can create and configure such a calendar in autosys?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

戏蝶舞 2024-12-09 17:39:57

使用 Autosys 提供的工具创建日历的方法有多种。启动这些工具的命令是 autocal (这是一个图形编辑器)和 autocal_asc (这是一个基于文本的编辑器)。可执行文件位于 Autosys 根用户目录(例如 /etc/autosys)中。我建议使用图形界面,因为它提供了一些选项,可以让您更轻松。

该实用程序运行后,您应该能够创建新日历(文件>新建)。为其命名(例如 5thOfTheMonth),然后选择“编辑”>“应用规则。您可以在此处配置您希望运行作业的月份中的日期以及许多其他选项。

创建并保存日历后,您可以使用 run_calendar JIL 命令 (run_calendar: 5thOfTheMonth) 或在 Job Definition > 中指定日历来将作业与其绑定。日期/时间选项图形界面。

There are a few ways to create a calendar with tools provided with Autosys. The commands to launch the tools are autocal (which is a graphical editor) and autocal_asc (which is a text-based editor). The executables are available in the Autosys root user directory (e.g. /etc/autosys). I would recommend using the graphical interface, since it gives some options which will make it easier on you.

Once the utility is running, you should be able to create a new calendar (File > New). Give it a name (e.g. 5thOfTheMonth), and choose Edit > Apply Rule. Here you can configure the day(s) of the month you wish to run the job on, and many other options.

Once the calendar is created and saved, you can tie a job to it using the run_calendar JIL command (run_calendar: 5thOfTheMonth) or specifying the calendar in the Job Definition > Date/Time Options graphical interface.

我的影子我的梦 2024-12-09 17:39:57
make an extended calendar, like this-

5th_day_every_month
-------------------
Enter Name: 5th_day_evry_mnth  
Enter Workdays [XXXXX..]:  
Enter Non-workday Actions [' ',O,N,W,P]:  
Enter Holiday Actions [' ',O,S,N,W,P]:  
Enter Holiday Calendar [none]:  
Enter Cycle Name [none]:  
Enter Date Adjustment [0]:  
Enter Date Conditions [DAILY]: MNTHD#5  
make an extended calendar, like this-

5th_day_every_month
-------------------
Enter Name: 5th_day_evry_mnth  
Enter Workdays [XXXXX..]:  
Enter Non-workday Actions [' ',O,N,W,P]:  
Enter Holiday Actions [' ',O,S,N,W,P]:  
Enter Holiday Calendar [none]:  
Enter Cycle Name [none]:  
Enter Date Adjustment [0]:  
Enter Date Conditions [DAILY]: MNTHD#5  
℡Ms空城旧梦 2024-12-09 17:39:57

如果您有一个允许您从文件导入日历的 Autosys Web 门户,您可以在文件中定义扩展日历。对于扩展日历的条件属性,您可以使用 MNTHD#nn 指定一个月中的某一天,其中 nn 为第 nn 天当月的。

扩展日历可以这样定义

extended_calendar: fifth_of_month
condition: MNTHD#5

,您可以将日历包含为作业的 run_calendar 属性,例如

insert_job: job_name
run_calendar: fifth_of_month

查找更多信息 此处了解延长日历的不同条件。

If you have an Autosys web portal that allows you to import a calendar from a file, you can define an extended calendar inside a file. For the condition attribute of the extended calendar, you can specify a day of the month with MNTHD#nn, where nn is the nnth day of the month.

The extended calendar can be defined like

extended_calendar: fifth_of_month
condition: MNTHD#5

and you can include the calendar as the run_calendar attribute of your job like

insert_job: job_name
run_calendar: fifth_of_month

Find more information here on the different conditions for an extended calendar.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文