Skip to content

Commit 14d1165

Browse files
committed
fix cron-job time
1 parent 1ab8c5e commit 14d1165

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Example cron:
4040
0,10,20,30,40,50 * * * * /bin/bash -l -c 'ruby kumar_asshole.rb'
4141

4242
# Runs `fucking_coffee` hourly from 9am to 6pm.
43-
9,10,11,12,13,14,15,16,17,18 * * * * /bin/bash -l -c 'ruby fucking_coffee.rb'
43+
0 9,10,11,12,13,14,15,16,17,18 * * * /bin/bash -l -c 'ruby fucking_coffee.rb'
4444
```
4545

4646
Check `config/schedule.rb`.

config/schedule.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
command 'ruby hangover.rb'
1313
end
1414

15-
every :hour, at: 9..18 do
15+
every :day, at: 9..18 do
1616
command 'ruby fucking_coffee.rb'
1717
end

0 commit comments

Comments
 (0)