Closed thallada closed 2 months ago
The issue is anyhow::Error
which does not impl std::Error
. See #258
The example should be updated.
This example might help: https://github.com/geofmureithi/apalis/blob/master/examples/async-std-runtime/src/main.rs
Resolved by https://github.com/geofmureithi/apalis/pull/359
I'm having some issues setting up a job that runs on a cron schedule and I cannot follow the apalis-cron example since it is using functions that don't exist in 0.5 (
job_fn
): https://github.com/geofmureithi/apalis/blob/master/packages/apalis-cron/README.mdI keep getting a type error (using 0.5.3 of apalis with cron feature):
I'm trying to follow what other repos have done to set up apalis-cron (e.g. https://github.com/IgnisDa/ryot/blob/182e4e7982d5fb24e08dd6e9593d2cece171185f/apps/backend/src/main.rs#L255-L270), I'm not sure why I am getting this type error while they are not.