Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

This sample demonstrates how to setup cron based workflow.

We recommend using Schedules instead of Cron Jobs. Schedules were built to provide a better developer experience, including more configuration options and the ability to update or pause running Schedules.

Steps to run this sample:

  1. Run a Temporal service.
  2. Run
go run cron/worker/main.go 

to start worker for cron workflow. 3) Run

go run cron/starter/main.go

to start workflow with cron expression scheduled to run every minute.