2
0
mirror of https://github.com/narkoz/hacker-scripts synced 2025-08-23 02:47:14 +00:00

fix cron-job time

This commit is contained in:
Nihad Abbasov 2015-11-22 04:26:58 +04:00
parent 1ab8c5e17b
commit 14d11659be
2 changed files with 2 additions and 2 deletions

View File

@ -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`.

View File

@ -12,6 +12,6 @@ every :day, at: '8:45 am' do
command 'ruby hangover.rb'
end
every :hour, at: 9..18 do
every :day, at: 9..18 do
command 'ruby fucking_coffee.rb'
end