#1557·revel

Can't get jobs module to work

Author: terhitormanenCreated Jun 22, 2022Updated Jun 22, 2022

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!