Closed vandamon closed 8 years ago
+1
Try using Rake::Task#execute
instead of Rake::Task#invoke
.
Background: Invoke only runs the task "if needed".
Since crono doesn't boot a fresh instance of your application per job execution (like regular cronjobs would do) the task is considered als already executed after the first run if you use invoke
.
@klausmeyer Thanks a lot for the suggestion. I have it working now.
This is an awesome gem, if only it can do what it says.
Crono runs my tasks, but just once, for the first time.
My cronotab looks like this:
Any suggestions? Or is this a bug?