Google Cloud has announced the general availability of its new service called Cloud Scheduler. Announced at Google Cloud Next, the Cloud Scheduler is a fully managed cron job scheduler that will allow enterprises to schedule big data jobs, cloud infrastructure operations, run batch, etc.
The new service will enable users to automate things, like retries in case of failure, and reduce the manual toil and intervention. Further, it will work as a single pane of glass for management of all the automation tasks.
“We have added an important new feature that allows you to trigger any service, running anywhere: on-prem, on Google Cloud or any third party datacentre,” Google product manager Vinod Ramachandran wrote in a blog post.
Enterprises will now be able to use industry standard OAuth/OpenID Connect to securely invoke HTTP targets on a schedule to reach the services that run on Google Kubernetes Engine (GKE), Compute Engine, Cloud Run, Cloud Functions, or on-premise systems.
Cloud Scheduler can also be used to invoke the schedules via user interface, command line interface, or API, while managing everything from a single place. Google has added support for the Unix cron format to help users define their job schedules.
Google said that the new solution will also enable users to schedule the running of their tasks at the same time each week, day, or hour, without any failures.
To run a job, Cloud Scheduler sends an HTTP request or Pub/Sub message to the target destination on a recurring schedule. The target handler executes the job and returns a response. If a job fails, it retries it by sending an error message to the Cloud Scheduler. The process continues until the maximum number of attempts is reached.
“Cloud Scheduler can be used to architect interesting solutions like wiring together a reporting system on a schedule using Cloud Functions, Compute Engine, Cloud Pub/Sub and Stackdriver,” wrote Ramachandran in the blog post.