Skip to content
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

Can't get jobs module to work #1557

Open
terhitormanen opened this issue Jun 22, 2022 · 0 comments
Open

Can't get jobs module to work #1557

terhitormanen opened this issue Jun 22, 2022 · 0 comments

Comments

@terhitormanen
Copy link

Hi!
I can't seem to get the jobs module to work anymore. Not when running built app or using revel run, in either dev or prod mode.

I updated my revel project to use Go 1.17, revel/revel v1.1.0, revel/modules v1.1.0 and installed revel/cmd/revel v1.1.2.
Inidirect dependenccies (from go.mod):
github.com/revel/config v1.1.0 // indirect
github.com/revel/cron v1.1.0 // indirect
github.com/revel/log15 v2.11.20+incompatible // indirect
github.com/revel/pathtree v0.0.0-20140121041023-41257a1839e9 // indirect

Running on Ubuntu 20.04.4 LTS.

In my browser running locally I get:
(port used 9020)
localhost:9020/@jobs ->
Not Found
No matching route found: /@jobs

and also the jobs are not run at the time indicated.

Jobs worked when I was using Go 1.16 and revel 1.0.0.

I've followed the manual and my app.conf has
module.jobs = github.com/revel/modules/jobs
and the conf/routes file
module:jobs

Module testrunner works but jobs not...

Any help would be much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant