Skip to content

Commit

Permalink
Update timers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcdaniel authored Jan 9, 2024
1 parent 74403e4 commit 58cf71b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/features/timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ class MyWorkflow extends Workflow
}
```

You may also specify the time to wait as a string e.g. '5 seconds' or '30 minutes'.

**Important:** When using timers, you should not use the `Carbon::now()` method to get the current time. Instead, you should use the `WorkflowStub::now()` method, which will return the current time as seen by the workflow system. This is important because the actual time may not match the time as seen by your application.

0 comments on commit 58cf71b

Please sign in to comment.