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: 
```
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)
try this out 

```
rake resque:scheduler BACKGROUND=true

```

or

```
rake resque:scheduler &

```

and now if you want to suppress the output of the rake task try running it with `nohup`

```
nohup rake my:task BACKGROUND=true

```