-
Notifications
You must be signed in to change notification settings - Fork 70
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
No alias in crontab #43
Comments
Confirmed and implemented. See https://github.com/Indatus/dispatcher/releases/tag/v1.2.4 |
Not need the check for windows or linux? It can be fail in windows, need try |
thanks for pointing that out, I tend to forget about Windows users. There's a new version which checks the OS and acts accordingly |
However, it's still wont work in freebsd. It must be |
I fix this problem with setting PATH env variable in crontab
Thanks. |
Thanks for posting this workaround. My distro experience is limited, so I'll need some pull requests to help resolve this across distros. |
yeah some work is needed here... maybe an option to customise the call to the php instance is needed? to be clear i've gotten successful scheduled command execution when altering unless there's something i'm missing. |
That's a good thought, I've added that config setting to the 2.0 to-do list. Instead of modifying the library, you could add an alias for |
yeah, an option in a config file would be perfect. :) |
@twoSeats I've decided to include this feature in the last release available for Laravel 4.3. Everything from this point forward will be for Laravel 5. Can you check out the |
@bkuhl just tested it. sorry i took a second, had a break over the weekend. Glad to report that it works like a charm! thanks a lot! |
This is now available in 1.4.1: https://github.com/Indatus/dispatcher/releases/tag/v1.4.1 Thanks for the input and the help, you rock! |
Hi again,
In Unix system crontab "php .../artisan command" wont work. Need "/usr/bin/env php". Its defined in artisan.
Can you fix this? I'm editing your class for this in my vendor folder.
The text was updated successfully, but these errors were encountered: