Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Trying to run a cron schedule to fetch some data from database #173

Open
ShandilyaHarsh opened this issue Jan 27, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ShandilyaHarsh
Copy link

What are you really trying to do?

I am just trying to run the cron workflow in GoLang by following the steps mentioned in the Readme.md.

Describe the bug

In worker, main.go when I am trying to register activity as cron.DoSomething , the error is that DoSomething is not declared by package cron.
error

Environment/Versions

  • OS and processor: Windows
  • Temporal Version: SDK version
  • Are you using Docker or Kubernetes or building Temporal from source?
  • Using temporal on docker compose
@ShandilyaHarsh ShandilyaHarsh added the bug Something isn't working label Jan 27, 2022
@cretz
Copy link
Member

cretz commented Jan 27, 2022

The example compiles, and cron.DoSomething points to the DoSomething function in https://github.com/temporalio/samples-go/blob/main/cron/workflow.go. Can you explain your situation better? Is this just something with your vscode/IDE environment? Can you not run the sample? Can you show the command and its failing output?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants