How to pass time interval from Rails to a scheduler?


I would like a Rails application to set the time interval for a
background scheduler, so that the admin user can specify it from admin
I looked at daemons gem, BackgroundDRb, and some other plugins.
But they don’t seem to have this capability and all of them require it
to be specified either in configuration file or hardcoded in the

Is there a way to pass a time interval parameter to a scheduler from
Rail application?
Or is there any scheduler or background process with this capability?

Thank you in advance.