Comments (16)
Hey @webdevian, glad you got it working. I still need to publish the latest version to npm. Itβs been a busy couple weeks. Iβll do that ASAP.
from adonis-scheduler.
Did you register the ace command?
const aceProviders = [
...
'adonis-scheduler/providers/CommandsProvider'
]
from adonis-scheduler.
Yes, I registered. This my app.js
https://pastebin.com/NyVG3pWi
from adonis-scheduler.
i have same problem
from adonis-scheduler.
Hello everyone!
I'm write incorrect sample for generate task from command.
You need use command node ace make:task ....
The adonis cli is not included custom commands. I will change this typos in readme.md
.
Also, you can get all supported commands for adonis
and node ace
via type this commands.
Thanks for feedback!
from adonis-scheduler.
I change adonis make:task Example
to node ace make:task Example
but it still return error: make:task
is not a registered command
from adonis-scheduler.
I'm build clean adonis default app, add dependency from readme.
throw:test-adonis verchu$ node ace
Usage:
command [arguments] [options]
Global Options:
--env Set NODE_ENV before running the commands
--no-ansi Disable colored output
Available Commands:
make
make:task Make a new task scheduler
run
run:scheduler Start the scheduler.
from adonis-scheduler.
Are you sure it works?
I try to create new adonis project 5.0.4 base on node.js v8.9.4 but it still not working
from adonis-scheduler.
@ntvsx193 @minhphuc429 This isn't working for me either. When I add 'adonis-scheduler/providers/CommandsProvider'
to aceProviders and run ace or adonis I only get:
Available Commands:
make
make:task Make a new task scheduler
run
run:scheduler Start the scheduler.
But neither of these commands work. If I remove it I get the full list of adonis commands
from adonis-scheduler.
This is what I have installed:
"@adonisjs/ace": "5.0.0",
"@adonisjs/cli": "4.0.4",
"@adonisjs/fold": "4.0.7",
"@adonisjs/framework": "5.0.4",
"@adonisjs/ignitor": "2.0.5",
"@adonisjs/lucid": "5.0.3",
"@adonisjs/mail": "3.0.5",
"@adonisjs/redis": "2.0.4",
"adonis-kue": "4.0.0",
"adonis-scheduler": "3.0.0",
from adonis-scheduler.
I think it's because the package includes ace, fold and ignitor as dependencies instead of peer dependencies, so the commands aren't extending the same instance of ace or fold as the actual ace
file
from adonis-scheduler.
Yes, it's different in this repository than 3.0.0 on NPM. When I install direct from github it works ok
from adonis-scheduler.
Thanks. It's a problem I had when making adonis-pug, everything in the repo looked right but once I installed it in another app with parallel adonis packages stuff like this started breaking
from adonis-scheduler.
I've published 3.0.1 to npm. Would everyone mind trying to install from npm to see if it works for you?
Thank you.
from adonis-scheduler.
Yeah that seems to work
from adonis-scheduler.
Thanks all
from adonis-scheduler.
Related Issues (20)
- Which version is valid for Adonis 3.2? HOT 3
- Non-js files are picked up by the run:schedule command HOT 1
- Run schedules without the ./ace command HOT 2
- call task in the project not from terminal HOT 1
- Use Websockets in Tasks HOT 4
- Cannot use Adonis Logger provider in Task HOT 2
- Make sure CommandsProvider extends the base command HOT 2
- AdonisJs CronJobs HOT 1
- Cannot run migration HOT 1
- Thanks @hoangmy92, that is what I would recommend. HOT 3
- Data type error in the population of the logs HOT 1
- Cannot Load Tasks In Subdirectory HOT 6
- E_INVALID_SERVICE_PROVIDER: SchedulerProvider must extend base service provider class
- How to exit the cron job when an error occurs? HOT 1
- Is it possible to run every 30 seconds? HOT 1
- timezone different in server HOT 1
- As wheels in production? HOT 2
- Is Adonis-Scheduler still maintained?
- How do I set this package up on Heroku?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adonis-scheduler.