Nelumbo
Nelumbo

Reputation: 1371

What is valid cron on GCP Cloud Scheduler?

I have a Cloud Scheduler running on GCP and I would like to run with 2/5 * * * 1-5. This does not really work, it is instead just triggered once per hour, at 4 minutes past the hour for some reason. I know this is non-standard cron but at the same time neither the console or SDK complain about it.

Upvotes: 0

Views: 184

Answers (1)

Nelumbo
Nelumbo

Reputation: 1371

In short; I simply messed up the cron timing. It works as it should with 2-59/5 * * * 1-5. This format follows the cron-standard.

Upvotes: 1

Related Questions