BT

InfoQ Homepage News Google Announces a Managed Cron Service: Google Cloud Scheduler

Google Announces a Managed Cron Service: Google Cloud Scheduler

Bookmarks

Google announced a new Service on the Google Cloud Platform (GCP) - Cloud Scheduler, a fully managed cron job service that allows any application to invoke batch, big data and cloud infrastructure operations. The service is currently available in beta.

With Google Cloud Scheduler customers can use the cron service with no need to manage the underlying infrastructure. There is also no need to manually intervene in the event of transient failure, as the services retries failed jobs. Furthermore, customers will only pay for the operations they run -- GCP takes care of all resource provisioning, replication and scaling required to operate Cloud Scheduler. Also, customers can, according to Vinod Ramachandran, product manager at Google, benefit from:

Reliable delivery: Cloud Scheduler offers at-least-once delivery of a job to the target, guaranteeing that mission-critical jobs are invoked for execution.
Fault-tolerant execution: Cloud Scheduler lets you automate your retries and execute a job in a fault-tolerant manner by deploying in different regions, so you eliminate the risk of single point of failure of hosted cron.
Unified management experience: Cloud Scheduler lets you invoke your schedules through the UI, CLI or API and still have a single pane of glass management experience. It also supports the familiar Unix cron format to define your job schedules.

The Cloud Scheduler is suitable for various scenarios such as scheduling database updates, triggering CI/CD pipelines, and invoking Cloud Functions via Cloud Pub/Sub. Developers can schedule jobs using either the Cloud Scheduler UI, CLI or API to invoke an HTTP/S endpoint, Pub/Sub topic or App Engine application. 


Source: https://cloud.google.com/blog/products/application-development/announcing-cloud-scheduler-a-modern-managed-cron-service-for-automated-batch-jobs

For instance, when sending an HTTP request to a specified target destination on a recurring schedule, the target handler executes the job and returns a response. Should a job succeeds, it will return a code 2xx for HTTP/AppEngine to the Cloud Scheduler service. However, should the job fail, the job sends an error back to the Cloud Scheduler service, which subsequently retries the job until the maximum number of attempts is reached. Furthermore, when jobs are scheduled, developers can monitor them on the Cloud Scheduler UI and check for the status.
 


Source: https://cloud.google.com/scheduler/docs/scheduling-instances-with-cloud-scheduler

Google Cloud Scheduler is not the only managed cron service available in the public cloud. Competitors Microsoft and Amazon already have had a scheduler service available for some time. Microsoft offers the Azure Scheduler service, which became generally available in late 2015 and will be replaced by Azure Logic Apps Service - where developers can use the scheduler connector. Also, Logic Apps offers additional capabilities for application and process integration, data integration and B2B communication. Furthermore, AWS released the Batch service with similar capabilities to Scheduler in late 2016 – developers can even schedule functions with cron in AWS Lambda.

Pricing details and documentation are available on the Google Scheduler landing page.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.