Skip to content

Commit

Permalink
fix cron-job time
Browse files Browse the repository at this point in the history
  • Loading branch information
NARKOZ committed Nov 22, 2015
1 parent 1ab8c5e commit 14d1165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Example cron:
0,10,20,30,40,50 * * * * /bin/bash -l -c 'ruby kumar_asshole.rb'

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

Check `config/schedule.rb`.
Expand Down
2 changes: 1 addition & 1 deletion config/schedule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
command 'ruby hangover.rb'
end

every :hour, at: 9..18 do
every :day, at: 9..18 do
command 'ruby fucking_coffee.rb'
end

0 comments on commit 14d1165

Please sign in to comment.