1

以下のような Snowflake タスクを作成しました。

CREATE or replace TASK staging.task_name
  WAREHOUSE = 'staging_warehouse'
  SCHEDULE = 'USING CRON 0 1 * * * UTC'
AS
    delete from staging....

しかし、タスク履歴を見て、スケジュールまたは実行されたタスクが表示されません

select *
  from table(information_schema.task_history(
    scheduled_time_range_start=>dateadd('hour',-10,current_timestamp()),
    result_limit => 10,
    task_name=>'task_name'));

通常、分ベースのスケジュールでタスクを実行しますが、cron スケジュールを使用するのはこれが初めてです。ここで何が欠けている可能性がありますか?

4

1 に答える 1

1

タスクを有効にしてから、クエリを再度実行できますか?

alter task staging.task_name resume;
于 2020-08-07T12:00:05.820 に答える