{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"# Tips\n",
"\n",
"本章ではAmplify Schedの機能の詳細を扱います。"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"from amplify_sched import *\n",
"import datetime\n",
"\n",
"token = \"xxxxxxxxxxxxxxxxxxxxxxxxx\""
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"## 日時指定\n",
"\n",
"スケジュールの開始日時と各処理時間を実時間を単位として指定できます。\n",
"\n",
"下記ではスケジュールの開始日時を2023年5月1日、処理時間の単位を15分に設定しています。"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
" \n",
" "
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"alignmentgroup": "True",
"base": [
"2023-05-01T09:00:00",
"2023-05-01T11:30:00",
"2023-05-01T19:00:00"
],
"customdata": [
[
"Job A",
0
],
[
"Job A",
1
],
[
"Job A",
2
]
],
"hovertemplate": "Job=%{customdata[0]}
Start=%{base}
Finish=%{x}
Machine=%{y}
Process=%{customdata[1]}
Start=%{base}
Finish=%{x}
Machine=%{y}
Process=%{customdata[1]}
Start=%{base}
Finish=%{x}
Machine=%{y}
Process=%{customdata[1]}
Start=%{base}
Finish=%{x}
Machine=%{y}
Process=%{customdata[1]}