3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

GASでスクリプトを定期実行させてみる

Posted at

はじめに

GASを使う大きなメリットの一つに定期実行が容易にできるということがあります。この記事では、その定期実行をどのようにやるかまとめてみました。

GASでスクリプトを定期実行させてみる

  1. エディタ画面右側のサイドバーから、時計のようなアイコンをクリックする

    • スクリーンショット 2022-01-16 21.45.39.png
  2. 右下の「トリガーを追加」をクリック

    • スクリーンショット 2022-01-16 21.46.11.png
  3. 定期実行する関数や間隔を選択して保存する

    • メモ
      • 定期実行したい関数を選択する
      • 定期実行するためには、「イベントのソースを選択」の欄から「時間主導型」を選択する
      • 定期実行したい間隔を選択するには「時間ベースのトリガーのタイプを選択」から選択できる
        • 時間や曜日、週などから選択できる
    • スクリーンショット 2022-01-16 21.49.28.png

さいごに

今回はGASのスクリプトを定期実行させる方法をまとめてみました。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?