After reading the docs
- cloud scheduler - https://cloud.google.com/scheduler/
- GAE cron job - https://cloud.google.com/appengine/docs/flexible/nodejs/scheduling-jobs-with-cron-yaml
- cloud function pub/sub trigger - https://cloud.google.com/functions/docs/calling/pubsub
I think they are mostly the same.
I can use GAE cron job
+ pub/sub
+ cloud function
to implement the same functions which cloud scheduler
has.
In my understanding, it seems there are some differences between them:
Cloud Scheduler can be more convenient to adjust frequency. To update the frequency of
GAE cron job
, you must update the config, likeschedule: every 1 hours
ofcron.yaml
and redeploy.There is no need to implement the cron job architecture(integrate
GAE
,GAE cron service
,pub/sub
,cloud function
, etc..) by yourself which means you don't need to write code for combining them together anymore.
Am I correct? Or, any other differences?