Updating resque worker to support converting interval seconds to int