Skip to content

Commit a45d982

Browse files
authored
Update README.md
1 parent 5b104b5 commit a45d982

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,23 +102,21 @@ julia> @async alarm(now() + Dates.Minute(0) + Dates.Second(5),
102102
@async alarm(0, 0, 10, alarmname="Wham!", action=() -> println("wake me up, before you go! " ^ 100))
103103
```
104104
105-
- continuously monitor something every minute. For exaample, say you were using JuliaCon.jl to monitor what was currently happening in JuliaCon:
105+
- continuously monitor something. For exaample, say you were using JuliaCon.jl to monitor what was currently happening in JuliaCon, say every 30 seconds:
106106
107107
```julia
108108
using JuliaCon, TickTock, Dates
109109
JuliaCon.debugmode(true) # if JuliaCon isn't really running
110110
jca() = begin
111111
print("\033[2J") # clear the console
112-
println(now())
112+
println(Dates.now())
113113
JuliaCon.now()
114-
@async alarm(0, 0, 20, alarmname="What's happening now in JuliaCon!",
114+
@async alarm(0, 0, 30, alarmname="What's happening now in JuliaCon!",
115115
action=() -> jca())
116116
end
117117
jca()
118118
```
119119
120-
(How do you stop this though? No idea...)
121-
122120
- on MacOS you can have speech:
123121
124122
```julia

0 commit comments

Comments
 (0)