I recommend to NOT create the queue table manually in the database. It took me a while to find out why there was an error "can't find the column 'when_to_run'".

When you launch gearmand for the first time, it will create an empty table structure, which can be updated over time / releases.

Thanks for the tutorial, great help!