Cloudflare DevelopersCD
Cloudflare Developers2mo ago
13 replies
kleinpetr

Hi I would like to understand the

Hi I would like to understand the lifecycle of workflow, I am trying to replace cron by workflow, so I've done something like

run(){
while(true){
  await step.do(...)

  await step.sleep(5 min)
}
}


locally it seems to work, but on remote I am getting internal error without any message or log. So I am wondering if it's possible to do it that way.

also I am experiencing another internal error while I am trying to restart instance. So I am not sure if it depends on my approach or workflows are just like beta..
Was this page helpful?