ui/rq-scheduler — pull request #34 by jsoncorwin (2014-01-10 00:01:16+00:00)
Title: add support for --pid argument to create pidfile

Was looking to monitor rqscheduler via Monit and needed a pid file so it could locate and check the process.

Could be made better by deleting the file in Scheduler.register_death(), but would require passing pidfile parameters to the Scheduler class, which doesn't seem correct.

For Monit, monitoring still works if the pidfile remains after death.