Skip to content

Example of CIRRUS_CRON #1005

Answered by fkorotkov
5u623l20 asked this question in Q&A
Discussion options

You must be logged in to vote

It seems the most common use case is to use it in only_if and other statements. For example, run some task only for cron invocations:

task:
  name: Cron Specific Checks
  only_if: $CIRRUS_CRON != "" 

Also clarified a bit what's the value of CRON_NAME variable in #1006

More examples can be found in some of the public repositories that use CIRRUS_CRON.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 5u623l20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants