New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where the enqueued daily statistics job are started? #67
Comments
Adding this to my project the table started to being populated public func configure(_ app: Application) throws {
// ...
if config.scheduleStatisticsJobs {
// ...
try app.queues.startScheduledJobs()
}
// ...
} |
I found some other stuffs... On
But even running the command above, nothing happens. There is any documentation about the workers/schedulers? |
Hi. You need to start the process with command: ["./XCMetricsBackend",
"queues",
"--scheduled",
"--env",
"production"] It will run every day and create the I will add documentation about this. |
@ecamacho thanks! |
I am trying get values from
DailyStatisticsJob
at/v1/statistics/build/count?days=14
but thestatistics_day_build_time
table is empty. And while debugging theXCMetricsBackendLib/Config/configure.swift
there isn't a call tostartScheduledJobs()
or similar across the project.I am missing where it is being called? Or there is other way to start the scheduled jobs?
The text was updated successfully, but these errors were encountered: