Class: Whenever::JobList
- Inherits:
-
Object
- Object
- Whenever::JobList
- Defined in:
- lib/winever.rb
Instance Method Summary collapse
-
#remove_existing_tasks(*names) ⇒ Object
If transitionning to Winever and you already have scheduled tasks that you also want removed when installing your Winever schedule, you can give their paths to this functions and Winever will take care of it!.
-
#winever? ⇒ Boolean
We are running from winever? If you need tasks only on your Windows or your Linux servers, you can use #winever?.
Instance Method Details
#remove_existing_tasks(*names) ⇒ Object
If transitionning to Winever and you already have scheduled tasks that you also want removed when installing your Winever schedule, you can give their paths to this functions and Winever will take care of it!
14 15 16 |
# File 'lib/winever.rb', line 14 def remove_existing_tasks *names Winever::WheneverInterface.remove_existing_tasks *names end |
#winever? ⇒ Boolean
We are running from winever? If you need tasks only on your Windows or your Linux servers, you can use #winever?
8 9 10 |
# File 'lib/winever.rb', line 8 def winever? Winever::WheneverInterface.run_from_winever? end |