> For the complete documentation index, see [llms.txt](https://eather-space.gitbook.io/eather/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eather-space.gitbook.io/eather/development/cronable.md).

# Cronable

Add function Crons() and module will be Cronable.

```
.
.
.

func (m module) Crons() eather.CronList {
	return eather.CronList{
		eather.Cron{Spec: "* * * * *", Cmd: func() { fmt.Println("test") }},
	}
}

.
.
.
```

This will run every second function `Cmd` and will print `test` into the terminal.
