Question: I am using **resque:scheduler gem** in my **rails 3 application**.

How can start `rake resque:scheduler` in `daemon` mode.

and if you know then please let me know, 

**How can I configure this task in GOD script?**

Answer: 
I guess you only have to do this 

```
BACKGROUND=yes rake resque:scheduler 

```

and perhaps that would work check over [here](https://github.com/bvandenbos/resque-scheduler/blob/master/lib/resque_scheduler/tasks.rb#L12)

Hope this help
```
PIDFILE=./resque-scheduler.pid BACKGROUND=yes rake resque:scheduler

```

complete doc of resque scheduler available [here](http://rdoc.info/github/bvandenbos/resque-scheduler/master/frames)