m-barthelemy / vapor-queues-fluent-driver

A Fluent implementation for https://github.com/vapor/queues (Vapor4)
MIT License
32 stars 16 forks source link

Unable to see jobs in _jobs table #18

Closed rbuencamino closed 3 years ago

rbuencamino commented 3 years ago

Hi! Am I using this correctly?

I'm trying to queue up a job by doing the following:

In configure:

app.migrations.add(JobModelMigrate()) app.queues.use(.fluent())

In my request handler: req.application.queues .schedule(job) .daily() .at(job.hour, job.minute)

However, after I queue up the job I don't see it in the _jobs table. I feel like I'm missing something painfully obvious. I'm using Fluent with PostgreSQL 12.3 via FluentPostgresDrier