I want a method to be executed every 5 minutes, I implemented whenever for ruby (cron). But it does not work. I think my method is not accessible. The method I want to exec
To declare a static method, write ...
def self.checkPings # A static method end
... or ...
class Myclass extend self def checkPings # Its static method end end