将工作流加载到设备后,则可以通过 CLI 界面为其定义调度表,如下所示:
示例 29 CLI 中调度的工作流dory:> maintenance workflows dory:maintenance workflows> "select workflow-002''' dory:maintenance workflow-002> schedules dory:maintenance workflow-002 schedules>create dory:maintenance workflow-002 schedule (uncommitted)> set frequency=day frequency = day (uncommitted) dory:maintenance workflow-002 schedule (uncommitted)> set hour=10 hour = 10 (uncommitted) dory:maintenance workflow-002 schedule (uncommitted)> set minute=05 minute = 05 (uncommitted) dory:maintenance workflow-002 schedule (uncommitted)> commit dory:maintenance workflow-002 schedules> list NAME FREQUENCY DAY HH:MM schedule-001 day - 10:05 dory:maintenance workflow-002 schedules> create dory:maintenance workflow-002 schedule (uncommitted)> set frequency=week frequency = week (uncommitted) dory:maintenance workflow-002 schedule (uncommitted)> set day=Monday day = Monday (uncommitted) dory:maintenance workflow-002 schedule (uncommitted)> set hour=13 hour = 13 (uncommitted) dory:maintenance workflow-002 schedule (uncommitted)> set minute=15 minute = 15 (uncommitted) dory:maintenance workflow-002 schedule (uncommitted)> commit dory:maintenance workflow-002 schedules> list NAME FREQUENCY DAY HH:MM schedule-001 day - 10:05 schedule-002 week Monday 13:15 dory:maintenance workflow-002 schedules>