Script/runner as a single instance

I am utilizing the script/runner script to launch a few models for
maintenance on my application.

Is there any to ensure that only a single instance of a certain process
is running? I guess I could have the model check/update a flag in the
db, but maybe there is an easier way?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs