ncb000gt/node-cron — Issue #25: Allow sintax like whenever (ruby gem)
Author: norman784
Created: 2012-02-23 20:25:13+00:00
State: open

For most people will be much easier to use something like (this its ruby sintax but can be implemented in js i think)

```ruby
every 3.hours do
runner "MyModel.some_process"
rake "my:rake:task"
command "/usr/bin/my_great_command"
end

every 1.day, :at => '4:30 am' do
runner "MyModel.task_to_run_at_four_thirty_in_the_morning"
end

every :hour do # Many shortcuts available: :hour, :day, :month, :year, :reboot
runner "SomeModel.ladeeda"
end

every :sunday, :at => '12pm' do # Use any day of the week or :weekend, :weekday
runner "Task.do_something_great"
end

every '0 0 27-31 * *' do
command "echo 'you can use raw cron syntax too'"
end
```

https://github.com/javan/whenever