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

Deploy on Windows. #124

Closed
pablozagni opened this issue Feb 6, 2015 · 4 comments
Closed

Deploy on Windows. #124

pablozagni opened this issue Feb 6, 2015 · 4 comments

Comments

@pablozagni
Copy link

Dispacher is working perfectly in my development environment with Vagrant / Homestead VM.
When I deploy to my Windows XP production server I open a console and type:

php artisan scheduled:run

and get the error:

Invalid argument /usr

How can I solve this?
Thanks!

@bkuhl
Copy link
Member

bkuhl commented Feb 6, 2015

I'm not sure how you could be seeing that. /usr is not used as an argument anywhere that I can think of. Try adding the --debug option to the command and post hte output.

https://github.com/Indatus/dispatcher/blob/1.4/src/Indatus/Dispatcher/Services/CommandService.php#L182 is the only place that is used and it's only used on linux.

@pablozagni
Copy link
Author

Runing: php artisan sheduled:run --debug

Error:
The "--debug" option does not exists.

@bkuhl
Copy link
Member

bkuhl commented Feb 6, 2015

What version are you using? In the latest release that option exists: https://github.com/Indatus/dispatcher/blob/1.4/src/Indatus/Dispatcher/Commands/Run.php#L56

@pablozagni
Copy link
Author

Solved! I was Using version 1.2 as showed on video tutor... Sorry for my mistake.
Thank you VERY MUCH for your time.
Greeting from Argentina.

@bkuhl bkuhl closed this as completed Mar 17, 2015
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

2 participants