-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Default path/location of script #246
Comments
Hello, it will be much better if you use absolute paths, like Crunz run each task as a separate process which Maybe you have some ideas how documentation can be upgraded? I'm open for PR, feel free to open one, if you want. To summarize: always use absolute paths 😃 |
Okay that makes sense. However, using Alternatively, I apologise if this is really basic, and I appreciate the help a lot! |
Looks like you forget space after |
That still throws |
Could you create reproducer repository? |
So, I forget about one important thing - you are using Windows, so your PHP binary is definitely not |
Yes, that worked. Thank you for your help! |
Crunz version: 2.0
PHP version: 7.3.4
Operating system type and version: Windows 10 Enterprise 64-bit
Description
I'm confused about how to point my Task file to a script file.
How to reproduce
I have a NotificationTasks.php file located in the tasks folder, which is in the project root.
Notify.php is also located in the same folder.
When I try to test this by running
schedule:run --force
, I receive aThe system cannot find the path specified
error.I'm not sure, for example, in the documentation example, where backup.php should be located.
I have also tried messing around with the in() method without success.
The text was updated successfully, but these errors were encountered: