xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

POSIX cron & schedule

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07

GitHub Actions

# 此示例每15分钟触发一次工作流:

on:
  schedule:
    # * is a special character in YAML so you have to quote this string
    - cron:  '*/15 * * * *'

  1. 预定的工作流在默认或基本分支上的最新提交上运行;
  2. 您可以运行计划的工作流程的最短间隔是每5分钟一次;

https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions

https://help.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule




原文地址:https://www.cnblogs.com/xgqfrms/p/12827327.html