Pascal Delange
Pascal Delange

Reputation: 526

Cloud Scheduler Crons Failing Only in Staging Environment (No Logs)

Context:

I have two environments, prod and staging, that are mostly identical (prod just has a larger Cloud SQL DB instance). In both environments, I use Cloud Scheduler crons set to run every minute ("* * * * *") and trigger Cloud Run batch jobs.

Problem:

In recent weeks, and only in the staging environment, Cloud Scheduler crons are regularly failing to run, usually for a few minutes in a row but sometimes for periods of up to an hour.

During these gaps:

After the gap:

Troubleshooting Performed:

I checked all of the easy things:

Question:

What could be causing Cloud Scheduler crons to silently fail/pause ? What could cause it to happen only in the staging environment?

I'm at a loss for further troubleshooting steps. Any insights or suggestions on how to diagnose the root cause of these cron jobs not launching would be greatly appreciated.

Upvotes: 0

Views: 73

Answers (0)

Related Questions