Cloud Tasks

2. vs Scheduler

  • Cloud Tasks triggers actions based on how the individual task object is configured, while Cloud Scheduler triggers actions at regular fixed intervals. 
  • Cloud Task initiates actions based on the amount of traffic coming through the queue while Cloud Scheduler Initiates actions on a fixed periodic schedule. 
  • Each Cloud Task has a unique name, and can be identified and managed individually in the queue, while with exception of time of execution, each run of a Cloud Scheduler cron job is exactly the same as every other run of that cron job.
  • If the execution of a Cloud Task task fails, the task is re-tried until it succeeds, while if the  execution of a Cloud Scheduler cron job fails, the failure is logged, and the job is not rerun until the next scheduled interval.