Skip to content

Commit 1a885cd

Browse files
Update readme.md
1 parent 116864a commit 1a885cd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,13 @@ go run command_line_arguments.go
543543
go run command_line_arguments.go -env=qa -consumer=true
544544
```
545545

546+
Cron Golang Example
547+
We can trigger a function at a particular time through cron
548+
549+
```Shell
550+
go run cron.go
551+
```
552+
546553
## Compile
547554

548555
One great aspect of Golang is, that you can start go applications via ```go run name.go```, but also compile it to an executable with ```go build name.go```. After that you can start the compiled version which starts much faster.

0 commit comments

Comments
 (0)